From: Carl Hetherington Date: Fri, 17 Apr 2020 20:37:54 +0000 (+0200) Subject: Add drd/helgrind to the tests runner script. X-Git-Tag: v2.15.52~4 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=31c75f3717e4fd88f38a95847bbaf063e761ce96 Add drd/helgrind to the tests runner script. --- diff --git a/run/tests b/run/tests index 3f465a433..13aa1f6e6 100755 --- a/run/tests +++ b/run/tests @@ -20,6 +20,12 @@ elif [ "$1" == "--callgrind" ]; then elif [ "$1" == "--quiet" ]; then shift; build/test/unit-tests --catch_system_errors=no $* +elif [ "$1" == "--drd" ]; then + shift; + valgrind --tool="drd" build/test/unit-tests $* +elif [ "$1" == "--helgrind" ]; then + shift; + valgrind --tool="helgrind" build/test/unit-tests $* else ulimit -c unlimited build/test/unit-tests --catch_system_errors=no --log_level=test_suite $*