Full leak check/reachable on dcpomatic_batch valgrind.
authorCarl Hetherington <cth@carlh.net>
Fri, 24 Jan 2014 13:05:46 +0000 (13:05 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 24 Jan 2014 13:05:46 +0000 (13:05 +0000)
run/dcpomatic_batch

index ac2d0e39a60eccd3d102e0923051da702c77bb70..78ee8f7be0a19a2e6ef5796af1d1e22057136a3d 100755 (executable)
@@ -6,7 +6,7 @@ if [ "$1" == "--debug" ]; then
     gdb --args build/src/tools/dcpomatic_batch $*
 elif [ "$1" == "--valgrind" ]; then
     shift
     gdb --args build/src/tools/dcpomatic_batch $*
 elif [ "$1" == "--valgrind" ]; then
     shift
-    valgrind --tool="memcheck" build/src/tools/dcpomatic_batch $*
+    valgrind --tool="memcheck" --suppressions=valgrind.supp --leak-check=full --show-reachable=yes build/src/tools/dcpomatic_batch $*
 elif [ "$1" == "--callgrind" ]; then
     shift
     valgrind --tool="callgrind" build/src/tools/dcpomatic_batch $*
 elif [ "$1" == "--callgrind" ]; then
     shift
     valgrind --tool="callgrind" build/src/tools/dcpomatic_batch $*