diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-02-12 23:46:45 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-02-12 23:46:45 +0000 |
| commit | 9a663d3f2e467f65dd7a364ed8631107fed5182d (patch) | |
| tree | a4062d312968301886dbb701db100ea3d45fb4d1 | |
| parent | d7f731ef2a3e099cf7b9af1de514e8b56b71dfa1 (diff) | |
Add commented-out valgrind line which can be used with gdb.
| -rwxr-xr-x | run/tests | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 $* |
