diff options
author | David Robillard <d@drobilla.net> | 2019-10-18 17:27:15 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-10-18 17:27:15 +0200 |
commit | 0da0d6235c8f7b869bfa725b10d328a18df21c01 (patch) | |
tree | 74813071ec35cc73d0a741a8678793089ec39f75 /extras | |
parent | 378ba69978967a4c2eb8b39905a05c965969c82d (diff) | |
download | autowaf-0da0d6235c8f7b869bfa725b10d328a18df21c01.tar.gz autowaf-0da0d6235c8f7b869bfa725b10d328a18df21c01.tar.bz2 autowaf-0da0d6235c8f7b869bfa725b10d328a18df21c01.zip |
Support passing arguments to test wrappers
This allows using prefixes like valgrind --leak-check=full.
Diffstat (limited to 'extras')
-rw-r--r-- | extras/autowaf.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extras/autowaf.py b/extras/autowaf.py index 678dfe9..50e3728 100644 --- a/extras/autowaf.py +++ b/extras/autowaf.py @@ -924,7 +924,8 @@ class TestScope: self.tst.log_good('RUN ', name) if Options.options.test_wrapper: - test = [Options.options.test_wrapper] + test + import shlex + test = shlex.split(Options.options.test_wrapper) + test output = TestOutput(expected) with open(os.devnull, 'wb') as null: |