diff --git a/tools/ci/amd64/gcc/unit_tests.sh b/tools/ci/amd64/gcc/unit_tests.sh index c65eeb2..27d7600 100755 --- a/tools/ci/amd64/gcc/unit_tests.sh +++ b/tools/ci/amd64/gcc/unit_tests.sh @@ -20,5 +20,5 @@ cmake .. \ for test in $(find ./ -type f -name '*_tests' -executable); do echo "Running $test" - gdb -ex='set confirm off' -ex='run' -ex='bt' -ex='quit' "$test" + gdb --return-child-result -ex='set confirm off' -ex='run' -ex='bt' -ex='quit' "$test" done