From 59a96716c85915d47c7127d7dd507bb4511a8e6f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 16 Oct 2017 00:55:07 +0100 Subject: [PATCH] Catch system errors while doing backtraces. --- run/tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run/tests b/run/tests index 1ca030ce8..fcb6e1d62 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" -return-child-result --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=yes $* elif [ "$1" == "--valgrind" ]; then shift; valgrind --tool="memcheck" --leak-check=full build/test/unit-tests $* -- 2.30.2