summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-12-15 16:48:05 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-12-15 16:48:05 -0800
commitd1bfe365bbf163e94b741c715787da23f5cdd3e9 (patch)
treea3524af78547ef3702023ee6526811c6731ae45c /check.py
parent8291fd4a435dbb95661e13c5f823498312db4d79 (diff)
downloadbinaryen-d1bfe365bbf163e94b741c715787da23f5cdd3e9.tar.gz
binaryen-d1bfe365bbf163e94b741c715787da23f5cdd3e9.tar.bz2
binaryen-d1bfe365bbf163e94b741c715787da23f5cdd3e9.zip
update .s tests
Diffstat (limited to 'check.py')
-rwxr-xr-xcheck.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/check.py b/check.py
index 68e24e940..3b37ab26a 100755
--- a/check.py
+++ b/check.py
@@ -214,7 +214,9 @@ for t in spec_tests:
print '\n[ checking .s testcases... ]\n'
-for s in ['minimal.s', 'basics.s', 'asm_const.s', 'memops.s', 'call.s', 'conv.s', 'fast-isel.s', 'i64.s', 'load.s', 'phi.s', 'select.s', 'unreachable.s', 'cpus.s', 'frem.s', 'immediates.s', 'load-store-i1.s', 'reg-stackify.s', 'unused-argument.s', 'comparisons_f32.s', 'dead-vreg.s', 'func.s', 'import.s', 'memory-addr32.s', 'store-results.s', 'varargs.s', 'comparisons_f64.s', 'exit.s', 'global.s', 'memory-addr64.s', 'returned.s', 'store.s', 'comparisons_i32.s', 'f32.s', 'globl.s', 'legalize.s', 'offset-folding.s', 'return-int32.s', 'store-trunc.s', 'comparisons_i64.s', 'f64.s', 'i32.s', 'load-ext.s', 'permute.s', 'return-void.s', 'signext-zeroext.s', 'cfg-stackify.s', 'switch.s', 'relocation.s']: # TODO: 'inline-asm.s'
+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
print '..', s
wasm = s.replace('.s', '.wast')
full = os.path.join('test', 'dot_s', s)