onnxruntime/tools/ci_build/github/pai/migraphx_test_launcher.sh
PeixuanZuo 5e4ebbd9d9
[ROCm] add MIGraphX ci pipeline (#11569)
**Description**: Describe your changes.
Add migraphx ci pipeline, test build and unit tests.
This PR is based on #11492 

Pipeline :
https://dev.azure.com/onnxruntime/onnxruntime/_build/results?buildId=765711&view=results
2022-09-28 10:59:30 +08:00

15 lines
427 B
Bash
Executable file

#!/bin/bash
build_dir=${1:-"."}
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
echo "Warning: The following tests are EXCLUDED on MIGraphX agent:"
gtest_filter="-"
while read line; do
gtest_filter="$gtest_filter:$line"
echo "$line"
done <$script_dir/migraphx-excluded-tests.txt
echo ""
echo "Running ./onnxruntime_test_all .."
$build_dir/onnxruntime_test_all --gtest_filter=$gtest_filter