Add commented-out valgrind line which can be used with gdb.
authorCarl Hetherington <cth@carlh.net>
Mon, 12 Feb 2018 23:46:45 +0000 (23:46 +0000)
committerCarl Hetherington <cth@carlh.net>
Mon, 12 Feb 2018 23:46:45 +0000 (23:46 +0000)
run/tests

index fcb6e1d..73123fc 100755 (executable)
--- 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 $*