diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-10-16 00:55:07 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-10-16 00:55:07 +0100 |
| commit | 59a96716c85915d47c7127d7dd507bb4511a8e6f (patch) | |
| tree | 4a842cd7c85066c4b5e2ceb0cdbe4bc5325e523f | |
| parent | 312c7b48b1467bc2b963bdd46931f077c2eec864 (diff) | |
Catch system errors while doing backtraces.
| -rwxr-xr-x | run/tests | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 $* |
