aboutsummaryrefslogtreecommitdiff
path: root/meson_test.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-08-24 01:41:12 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2014-08-24 01:41:12 +0300
commitb97a8c82e7d0c54d643c64358d24dfb9b1fa1d3e (patch)
treefffecb0ee76968e74dbb158903c7458a707a1cf3 /meson_test.py
parent1419a6a316d24cc04a3353475d734f0bc45532a0 (diff)
downloadmeson-b97a8c82e7d0c54d643c64358d24dfb9b1fa1d3e.zip
meson-b97a8c82e7d0c54d643c64358d24dfb9b1fa1d3e.tar.gz
meson-b97a8c82e7d0c54d643c64358d24dfb9b1fa1d3e.tar.bz2
Can specify Valgrind command line arguments.
Diffstat (limited to 'meson_test.py')
-rwxr-xr-xmeson_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_test.py b/meson_test.py
index 1584ee5..170dbd3 100755
--- a/meson_test.py
+++ b/meson_test.py
@@ -72,6 +72,8 @@ def run_single_test(wrap, test):
cmd = [test.exe_runner, test.fname]
else:
cmd = [test.fname]
+ if len(wrap) > 0 and 'valgrind' in wrap[0]:
+ wrap += test.valgrind_args
if cmd is None:
res = 'SKIP'
duration = 0.0