summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-17 22:37:54 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-17 22:37:54 +0200
commit31c75f3717e4fd88f38a95847bbaf063e761ce96 (patch)
tree228b9b00aa0bf1dd578822f76ff33627401595ec
parent8902a7adb63e2dac24e877ed1035bf344397c260 (diff)
Add drd/helgrind to the tests runner script.
-rwxr-xr-xrun/tests6
1 files changed, 6 insertions, 0 deletions
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 $*