Fix parameters when running tests with valgrind.
authorCarl Hetherington <cth@carlh.net>
Fri, 10 Jul 2020 22:12:02 +0000 (00:12 +0200)
committerCarl Hetherington <cth@carlh.net>
Sat, 11 Jul 2020 19:12:13 +0000 (21:12 +0200)
run/tests

index f5dc7746bbdfddada832574bb995b8e798f070e8..82441321c83c0040eec7b25648106236de1b4f38 100755 (executable)
--- 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 $*