diff --git a/ci_stub/onyx_job_test_gpu.sh b/ci_stub/onyx_job_test_gpu.sh index 7cd03556..0b267778 100755 --- a/ci_stub/onyx_job_test_gpu.sh +++ b/ci_stub/onyx_job_test_gpu.sh @@ -4,6 +4,11 @@ env | grep JOB_COUNT JOB_COUNT=1 +pushd ./KORC/build_gpu >/dev/null + +ctest --output-on-failure +testexit=$? + pushd ./bin >/dev/null for j in "mars_test" "egyro_test"; do @@ -15,9 +20,12 @@ for j in "mars_test" "egyro_test"; do done done -pushd ./KORC/build_gpu >/dev/null - -ctest --output-on-failure - popd >/dev/null popd >/dev/null + +if [ $testexit -eq 0 ] +then + exit 0 +else + exit 1 +fi \ No newline at end of file