summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-11-22 15:41:50 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-11-22 15:41:50 -0800
commitd504e759a6d343d321128d1f98be683f80ccda87 (patch)
tree1ad8d5ada28b67d8363aba3ec6d8622f59c06da0
parent5fc4bde436bc51be040abb7375b61c5d106a6a44 (diff)
downloadbinaryen-d504e759a6d343d321128d1f98be683f80ccda87.tar.gz
binaryen-d504e759a6d343d321128d1f98be683f80ccda87.tar.bz2
binaryen-d504e759a6d343d321128d1f98be683f80ccda87.zip
another check.py fix
-rwxr-xr-xcheck.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/check.py b/check.py
index 6839b1189..235f64297 100755
--- a/check.py
+++ b/check.py
@@ -54,7 +54,7 @@ for asm in tests:
# verify in wasm
if interpreter:
# remove imports, spec interpreter doesn't know what to do with them
- subprocess.check_call([os.path.join('bin', 'binaryen-shell'), '-remove-imports', '-print-after', os.path.join('test', wasm)], stdout=open('temp.wast', 'w'))
+ subprocess.check_call([os.path.join('bin', 'binaryen-shell'), '-remove-imports', '-print-after', os.path.join('test', wasm)], stdout=open('temp.wast', 'w'), stderr=subprocess.PIPE)
proc = subprocess.Popen([interpreter, 'temp.wast'], stderr=subprocess.PIPE)
out, err = proc.communicate()
if proc.returncode != 0: