Pass list instead of single command to subprocess
This commit is contained in:
parent
280bc60b1b
commit
03eb577a40
@ -17,7 +17,7 @@ def test_common():
|
|||||||
primitive = re.sub(r"\.c$", "", d)
|
primitive = re.sub(r"\.c$", "", d)
|
||||||
binname = os.path.join('..', 'bin', 'test_'+primitive)
|
binname = os.path.join('..', 'bin', 'test_'+primitive)
|
||||||
helpers.make(binname)
|
helpers.make(binname)
|
||||||
helpers.run_subprocess(binname)
|
helpers.run_subprocess([binname])
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user