ci(amd64/gcc/unit_tests): gdb return child process exit code

This commit is contained in:
light7734 2025-09-24 09:53:51 +03:30
parent f04e3652a5
commit 1765dd0bd0
Signed by: light7734
GPG key ID: 8C30176798F1A6BA

View file

@ -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