summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
Diffstat (limited to 'check.py')
-rwxr-xr-xcheck.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/check.py b/check.py
index ed40b1fc1..97fe1b886 100755
--- a/check.py
+++ b/check.py
@@ -236,7 +236,7 @@ print '\n[ checking .s testcases... ]\n'
for s in sorted(os.listdir(os.path.join('test', 'dot_s'))) + sorted(os.listdir(os.path.join('test', 'experimental', 'prototype-wasmate', 'test'))):
if not s.endswith('.s'): continue
- if s in ['inline-asm.s', 'userstack.s']: continue
+ if s in ['inline-asm.s', 'userstack.s', 'offset-folding.s']: continue
print '..', s
wasm = s.replace('.s', '.wast')
full = os.path.join('test', 'dot_s', s)
@@ -273,7 +273,7 @@ if has_emcc:
command += ['-s', 'BINARYEN_METHOD="' + method + '"']
else:
method = 'wasm-s-parser' # this is the default
- print method, ' : ', command, ' => ', success
+ print method, ' : ', ' '.join(command), ' => ', success
subprocess.check_call(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
def break_cashew():
asm = open('a.wasm.asm.js').read()
@@ -307,7 +307,7 @@ if has_emcc:
print '\n[ checking emcc WASM_BACKEND testcases... ]\n'
- for c in ['hello_world.cpp', 'hello_num.cpp']:
+ for c in ['hello_world.cpp', 'hello_num.cpp', 'globals.cpp']:
print '..', c
base = c.replace('.cpp', '').replace('.c', '')
expected = open(os.path.join('test', 'wasm_backend', base + '.txt')).read()