diff options
author | David Robillard <d@drobilla.net> | 2019-10-19 21:32:59 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-10-27 19:48:27 +0100 |
commit | 433f17a017c3471afe6b09cb74929d0ce76822c4 (patch) | |
tree | cc369491cbd2b1d9415cd0a1cd26509fb9a33e91 /wscript | |
parent | 4b63930f1f83adf58deaa848829055db4ebba211 (diff) | |
download | serd-433f17a017c3471afe6b09cb74929d0ce76822c4.tar.gz serd-433f17a017c3471afe6b09cb74929d0ce76822c4.tar.bz2 serd-433f17a017c3471afe6b09cb74929d0ce76822c4.zip |
Support passing arguments to test wrappers
This allows using prefixes like valgrind --leak-check=full.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -294,7 +294,8 @@ def _load_rdf(filename): cmd = ['./serdi_static', filename] if Options.options.test_wrapper: - cmd = [Options.options.test_wrapper] + cmd + import shlex + cmd = shlex.split(Options.options.test_wrapper) + cmd proc = subprocess.Popen(cmd, stdout=subprocess.PIPE) for line in proc.communicate()[0].splitlines(): |