diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-01-11 20:56:20 -0500 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-01-11 20:56:20 -0500 |
commit | e982e93d68671443214dd91b4aefc6fe5992ac6b (patch) | |
tree | 618d585a09c4f1db17a563c597bbe5143d8a1122 /check.py | |
parent | e821979eb433ee0cefed786d46c870caec7a6234 (diff) | |
parent | 1b3600b0aca6a8f23b6d9e8ae33dcd75c9493810 (diff) | |
download | binaryen-e982e93d68671443214dd91b4aefc6fe5992ac6b.tar.gz binaryen-e982e93d68671443214dd91b4aefc6fe5992ac6b.tar.bz2 binaryen-e982e93d68671443214dd91b4aefc6fe5992ac6b.zip |
Merge pull request #93 from WebAssembly/asm2wasm-use-command-line
asm2wasm: use support's command-line
Diffstat (limited to 'check.py')
-rwxr-xr-x | check.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -85,7 +85,9 @@ for asm in tests: if asm.endswith('.asm.js'): wasm = asm.replace('.asm.js', '.fromasm') print '..', asm, wasm - actual, err = subprocess.Popen([os.path.join('bin', 'asm2wasm'), os.path.join('test', asm)], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() + cmd = [os.path.join('bin', 'asm2wasm'), os.path.join('test', asm)] + print ' ', ' '.join(cmd) + actual, err = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() assert err == '', 'bad err:' + err # verify output |