summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-11-04 16:12:35 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-11-04 16:12:35 -0800
commit822857a28cec499a8ab2688f2784c961ae1d4c19 (patch)
treefa19b8c9d9f959ae83c07fbada019d9488e07970 /check.py
parent913dfe73a9fad60e8498160fcabb715cb966bc97 (diff)
downloadbinaryen-822857a28cec499a8ab2688f2784c961ae1d4c19.tar.gz
binaryen-822857a28cec499a8ab2688f2784c961ae1d4c19.tar.bz2
binaryen-822857a28cec499a8ab2688f2784c961ae1d4c19.zip
prepare to run assert tests
Diffstat (limited to 'check.py')
-rwxr-xr-xcheck.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/check.py b/check.py
index 6eaffa119..a4f1157d1 100755
--- a/check.py
+++ b/check.py
@@ -70,7 +70,7 @@ for t in tests:
if t.endswith('.wast'):
print '..', t
t = os.path.join('test', t)
- actual, err = subprocess.Popen([os.path.join('bin', 'wasm-shell'), t], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
+ actual, err = subprocess.Popen([os.path.join('bin', 'wasm-shell'), t, 'print-wasm'], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
assert err == '', 'bad err:' + err
expected = open(t).read()