summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
Diffstat (limited to 'check.py')
-rwxr-xr-xcheck.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/check.py b/check.py
index 32406227a..7525d24fb 100755
--- a/check.py
+++ b/check.py
@@ -307,7 +307,8 @@ if has_emcc:
print '\n[ checking emcc WASM_BACKEND testcases... ]\n'
- for c in ['hello_world.cpp', 'hello_num.cpp', 'globals.cpp']:
+ for c in sorted(os.listdir(os.path.join('test', 'wasm_backend'))):
+ if not c.endswith('cpp'): continue
print '..', c
base = c.replace('.cpp', '').replace('.c', '')
expected = open(os.path.join('test', 'wasm_backend', base + '.txt')).read()