From 1765dd0bd008c7968a0da1a23861283b3c896fa3 Mon Sep 17 00:00:00 2001 From: light7734 Date: Wed, 24 Sep 2025 09:53:51 +0330 Subject: [PATCH] ci(amd64/gcc/unit_tests): gdb return child process exit code --- tools/ci/amd64/gcc/unit_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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