diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-01-15 19:45:55 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-01-17 11:57:09 -0800 |
commit | 19fa7c8e14844f7a25c2ef143cb89464d639c8a9 (patch) | |
tree | 808cc913090b2cae8e393c6c070fde8a66166458 /check.py | |
parent | 455eff4d01b5b9502ef66a220bacb58e77ed1fe0 (diff) | |
download | binaryen-19fa7c8e14844f7a25c2ef143cb89464d639c8a9.tar.gz binaryen-19fa7c8e14844f7a25c2ef143cb89464d639c8a9.tar.bz2 binaryen-19fa7c8e14844f7a25c2ef143cb89464d639c8a9.zip |
make sure a.wasm.js is emitted by the backend tests
Diffstat (limited to 'check.py')
-rwxr-xr-x | check.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -369,6 +369,7 @@ try: expected = open(os.path.join('test', 'wasm_backend', base + '.txt')).read() command = [os.path.join('test', 'emscripten', 'emcc'), '-o', 'a.wasm.js', '-s', 'BINARYEN="' + os.getcwd() + '"', os.path.join('test', 'wasm_backend', c), '-O1', '-s', 'ONLY_MY_CODE=1'] print '....' + ' '.join(command) + if os.path.exists('a.wasm.js'): os.unlink('a.wasm.js') subprocess.check_call(command) if has_node: print ' (check in node)' |