summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
Diffstat (limited to 'check.py')
-rwxr-xr-xcheck.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/check.py b/check.py
index 09326c6b1..e4dfbb0b4 100755
--- a/check.py
+++ b/check.py
@@ -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'