From 31c75f3717e4fd88f38a95847bbaf063e761ce96 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 17 Apr 2020 22:37:54 +0200 Subject: [PATCH] Add drd/helgrind to the tests runner script. --- run/tests | 6 ++++++ 1 file changed, 6 insertions(+) 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 $* -- 2.30.2