From acdaad960f383cea49bc40a63be0aa472ea988d2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 15 May 2017 14:48:16 +0100 Subject: [PATCH] Try to fix return code from jenkins test run. --- run/tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run/tests b/run/tests index d9815a449..b8bb094a0 100755 --- a/run/tests +++ b/run/tests @@ -9,7 +9,7 @@ if [ "$1" == "--debug" ]; then gdb --args build/test/unit-tests --catch_system_errors=no $* elif [ "$1" == "--backtrace" ]; then shift; - gdb -batch -ex "run" -ex "thread apply all bt" --args build/test/unit-tests --catch_system_errors=no $* + gdb -batch -ex "run" -ex "thread apply all bt" -return-child-result --args build/test/unit-tests --catch_system_errors=no $* elif [ "$1" == "--valgrind" ]; then shift; valgrind --tool="memcheck" --leak-check=full build/test/unit-tests $* -- 2.30.2