diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-11-27 11:20:59 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-27 11:20:59 -0800 |
commit | 100c27759aa1906a39791292539832529e2cae5c (patch) | |
tree | 8ef0be83ce440d06824237094094caeb58f0d294 /runtests.py | |
parent | 677a22519a212093438f4e5a08d79f9c74013488 (diff) |
runtests.py: split argument of '--program' so that options can be given.
e.g.
--program 'myprog --simple --foo=bar'
Diffstat (limited to 'runtests.py')
-rwxr-xr-x | runtests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtests.py b/runtests.py index 601508d..92feeed 100755 --- a/runtests.py +++ b/runtests.py @@ -55,7 +55,7 @@ if not (args.program or args.dump_tests or args.debug_normalization): def md2html(text, prog): if prog: - p1 = Popen([prog], stdout=PIPE, stdin=PIPE, stderr=PIPE) + p1 = Popen(prog.split(), stdout=PIPE, stdin=PIPE, stderr=PIPE) [result, err] = p1.communicate(input=text) return [p1.returncode, result, err] else: |