Replace "exit" with "return" in ci/test.sh

This commit is contained in:
androm3da 2018-01-13 17:40:18 -06:00 committed by GitHub
commit 43ac26a100
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@ xvfb_run_() {
res=${?}
kill ${xvfb_pid}
exit ${res}
return ${res}
}
run_tests() {
@ -49,7 +49,7 @@ run_tests() {
echo "Core Test return code: ${core_test_res}"
echo "QT Test return code: ${qt_test_res}"
exit $((${core_test_res} + ${qt_test_res}))
return $((${core_test_res} + ${qt_test_res}))
}
cd ${build_dir}