diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-03-07 21:25:14 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-03-07 21:25:14 -0800 |
commit | bc74a6478aa229abf6dbf7269e67aeeb570e7554 (patch) | |
tree | f24fd1e1ed75184abd5d2710a93a4b9a889a3d94 /check.py | |
parent | 8efa11fbb9ff8cfd8bacc9d16642e13e2bbac9b4 (diff) | |
parent | 9407880de631fb4e9f8caa0c746e4d39f40be91d (diff) | |
download | binaryen-bc74a6478aa229abf6dbf7269e67aeeb570e7554.tar.gz binaryen-bc74a6478aa229abf6dbf7269e67aeeb570e7554.tar.bz2 binaryen-bc74a6478aa229abf6dbf7269e67aeeb570e7554.zip |
Merge pull request #231 from WebAssembly/spec-updates
Spec updates
Diffstat (limited to 'check.py')
-rwxr-xr-x | check.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -329,6 +329,7 @@ for t in sorted(os.listdir(os.path.join('test', 'passes'))): cmd = [os.path.join('bin', 'binaryen-shell'), opt, os.path.join('test', 'passes', t), '--print'] print ' ', ' '.join(cmd) actual, err = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() + assert not err, err fail_if_not_identical(actual, open(os.path.join('test', 'passes', passname + '.txt')).read()) print '\n[ checking binaryen-shell testcases... ]\n' @@ -406,6 +407,7 @@ for t in spec_tests: # compare all the outputs to the expected output check_expected(actual, os.path.join('test', 'spec', 'expected-output', os.path.basename(wast) + '.log')) +''' XXX disable wasm2asm for now, too much flux print '\n[ checking wasm2asm testcases... ]\n' for wasm in tests + [os.path.join('spec', name) for name in ['address.wast']]:#spec_tests: @@ -440,6 +442,7 @@ for wasm in tests + [os.path.join('spec', name) for name in ['address.wast']]:#s out, err = proc.communicate() assert proc.returncode == 0 fail_if_not_contained(err, 'Successfully compiled asm.js code') +''' print '\n[ checking .s testcases... ]\n' |