X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=run%2Fdcpomatic_batch;h=6a8207c14a602710ec040cb245247c6ae832e16a;hb=309e54f5ca8d4937b944ddfb91cd080e79e1118a;hp=ac2d0e39a60eccd3d102e0923051da702c77bb70;hpb=85bda932d4e889043ce0e15bac8da95c223667b8;p=dcpomatic.git diff --git a/run/dcpomatic_batch b/run/dcpomatic_batch index ac2d0e39a..6a8207c14 100755 --- a/run/dcpomatic_batch +++ b/run/dcpomatic_batch @@ -3,16 +3,19 @@ export LD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:$LD_LIBRARY_PATH if [ "$1" == "--debug" ]; then shift - gdb --args build/src/tools/dcpomatic_batch $* + gdb --args build/src/tools/dcpomatic2_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/dcpomatic2_batch $* +elif [ "$1" == "--massif" ]; then + shift + valgrind --tool="massif" build/src/tools/dcpomatic2_batch $* elif [ "$1" == "--callgrind" ]; then shift - valgrind --tool="callgrind" build/src/tools/dcpomatic_batch $* + valgrind --tool="callgrind" build/src/tools/dcpomatic2_batch $* elif [ "$1" == "--i18n" ]; then shift - LANGUAGE=fr_FR.UTF8 LANG=fr_FR.UTF8 LC_ALL=fr_FR.UTF8 build/src/tools/dcpomatic_batch "$*" + LANGUAGE=fr_FR.UTF8 LANG=fr_FR.UTF8 LC_ALL=fr_FR.UTF8 build/src/tools/dcpomatic2_batch "$*" else - build/src/tools/dcpomatic_batch $* + build/src/tools/dcpomatic2_batch $* fi