chiark / gitweb /
b2test.valgrind accepts args to pass on to the tester
authorRoss Younger <onyx-commits@impropriety.org.uk>
Sun, 27 Jan 2013 08:28:33 +0000 (21:28 +1300)
committerRoss Younger <onyx-commits@impropriety.org.uk>
Sun, 27 Jan 2013 08:28:33 +0000 (21:28 +1300)
test/b2test.valgrind

index b5a9655..117504d 100755 (executable)
@@ -6,7 +6,7 @@ G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind \
        --track-origins=yes \
        --suppressions=${srcdir}/test/b2test.vgsupp \
        --gen-suppressions=all \
-       ${builddir}/b2test
+       ${builddir}/b2test "$@"
 
 # --track-origins=yes is helpful for debugging but slows things down,
 # we may want to later reconsider whether to run it every time.