summaryrefslogtreecommitdiff
path: root/run/tests
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-07-11 00:12:02 +0200
committerCarl Hetherington <cth@carlh.net>2020-07-11 21:12:13 +0200
commit1b6f847eddca54ed223b22858c19c987aa61c2df (patch)
tree09dcfa8f9537a178eb1ee7ff4084e026d09cc083 /run/tests
parentd4f3f5b44d5d42eaadc6fa3807648b6735d61758 (diff)
Fix parameters when running tests with valgrind.
Diffstat (limited to 'run/tests')
-rwxr-xr-xrun/tests2
1 files changed, 1 insertions, 1 deletions
diff --git a/run/tests b/run/tests
index f5dc7746..82441321 100755
--- a/run/tests
+++ b/run/tests
@@ -22,7 +22,7 @@ if [ "$1" == "--debug" ]; then
gdb --args $work/tests $private $*
elif [ "$1" == "--valgrind" ]; then
shift
- valgrind --tool="memcheck" $work/tests $private
+ valgrind --tool="memcheck" $work/tests $private $*
elif [ "$1" == "--callgrind" ]; then
shift
valgrind --tool="callgrind" $work/tests $private $*