summaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
Diffstat (limited to 'run')
-rwxr-xr-xrun/tests4
1 files changed, 3 insertions, 1 deletions
diff --git a/run/tests b/run/tests
index c561cfa99..49bc63142 100755
--- a/run/tests
+++ b/run/tests
@@ -10,10 +10,12 @@ if [ "$1" == "--debug" ]; then
elif [ "$1" == "--valgrind" ]; then
shift;
valgrind --tool="memcheck" --leak-check=full build/test/unit-tests $*
+elif [ "$1" == "--callgrind" ]; then
+ shift;
+ valgrind --tool="callgrind" build/test/unit-tests $*
elif [ "$1" == "--quiet" ]; then
shift;
build/test/unit-tests --catch_system_errors=no $*
else
build/test/unit-tests --catch_system_errors=no --log_level=test_suite $*
fi
-