diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-03-04 10:18:32 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-03-04 10:38:24 -0800 |
commit | b9443f47b084b1931d459490ecfd465dfcef68d3 (patch) | |
tree | c8caa5effef5487efac804599d7c9971bf15a2f8 /check.py | |
parent | 00e3875bb7feda59faf347b6887fcdb143d7e50b (diff) | |
download | binaryen-b9443f47b084b1931d459490ecfd465dfcef68d3.tar.gz binaryen-b9443f47b084b1931d459490ecfd465dfcef68d3.tar.bz2 binaryen-b9443f47b084b1931d459490ecfd465dfcef68d3.zip |
improve check error logging for wasm methods
Diffstat (limited to 'check.py')
-rwxr-xr-x | check.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -598,11 +598,11 @@ if has_emcc: proc = subprocess.Popen([has_node, 'a.wasm.js'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) out, err = proc.communicate() if success: - assert proc.returncode == 0 - assert 'hello, world!' in out + assert proc.returncode == 0, err + assert 'hello, world!' in out, out else: - assert proc.returncode != 0 - assert 'hello, world!' not in out + assert proc.returncode != 0, err + assert 'hello, world!' not in out, out print '\n[ checking wasm.js testcases... ]\n' |