From: Carl Hetherington Date: Mon, 12 Feb 2018 23:46:45 +0000 (+0000) Subject: Add commented-out valgrind line which can be used with gdb. X-Git-Tag: v2.11.56~8 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=9a663d3f2e467f65dd7a364ed8631107fed5182d Add commented-out valgrind line which can be used with gdb. --- diff --git a/run/tests b/run/tests index fcb6e1d62..73123fc1a 100755 --- a/run/tests +++ b/run/tests @@ -12,7 +12,8 @@ elif [ "$1" == "--backtrace" ]; then 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 $* +# valgrind --tool="memcheck" --vgdb=yes --vgdb-error=0 build/test/unit-tests $* + valgrind --tool="memcheck" build/test/unit-tests $* elif [ "$1" == "--callgrind" ]; then shift; valgrind --tool="callgrind" build/test/unit-tests $*