summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
Diffstat (limited to 'check.py')
-rwxr-xr-xcheck.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/check.py b/check.py
index 38ee6c591..19681743b 100755
--- a/check.py
+++ b/check.py
@@ -369,6 +369,10 @@ def run_binaryen_js_tests():
if not s.endswith('.js'): continue
print s
f = open('a.js', 'w')
+ # avoid stdout/stderr ordering issues in some js shells - use just stdout
+ f.write('''
+ console.warn = function(x) { console.log(x) };
+ ''')
binaryen_js = open(os.path.join(options.binaryen_root, 'bin', 'binaryen.js')).read()
f.write(binaryen_js)
if NODEJS: