diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-07-28 13:18:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-07-28 13:18:25 +0100 |
| commit | 77c1f7b21d369433ae7fd7669e454d48b8ac2c0e (patch) | |
| tree | ffce351f9d0eec44bc2d32af32fe9eb9db1a834a | |
| parent | 97c1bc360f912d66d3fc0430b331214e4da79644 (diff) | |
Add new --backtrace option to tests script.
| -rwxr-xr-x | run/tests | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -7,6 +7,9 @@ export DCPOMATIC_LINUX_SHARE_PREFIX=`pwd` if [ "$1" == "--debug" ]; then shift; 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 $* elif [ "$1" == "--valgrind" ]; then shift; valgrind --tool="memcheck" --leak-check=full build/test/unit-tests $* |
