summaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
Diffstat (limited to 'run')
-rwxr-xr-xrun/tests3
1 files changed, 3 insertions, 0 deletions
diff --git a/run/tests b/run/tests
index c5dcac62..feed6883 100755
--- a/run/tests
+++ b/run/tests
@@ -23,6 +23,9 @@ if [ "$1" == "--debug" ]; then
elif [ "$1" == "--valgrind" ]; then
shift
valgrind --tool="memcheck" $work/tests $private
+elif [ "$1" == "--callgrind" ]; then
+ shift
+ valgrind --tool="callgrind" $work/tests $private $*
else
$work/tests $private $*
fi