aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-05-12 16:06:21 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-05-12 16:06:21 -0700
commit2b3f1cbecd5dfbbfcbd469c4972cf0eeec981470 (patch)
tree7bf43e302800a61f88de2ea780e4937a25a013e0
parent7a951f6ba5f2ce3876f458fe51d82bbe901da89e (diff)
make asm.js compilation check case-agnostic
-rwxr-xr-xtests/runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 6db4609e..b2b1ff43 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -291,7 +291,7 @@ process(sys.argv[1])
out = open(stdout, 'r').read()
err = open(stderr, 'r').read()
if engine == SPIDERMONKEY_ENGINE and Settings.ASM_JS:
- if 'successfully compiled asm.js code' in err and 'asm.js link error' not in err:
+ if 'uccessfully compiled asm.js code' in err and 'asm.js link error' not in err:
print >> sys.stderr, "[was asm.js'ified]"
elif 'asm.js' in err: # if no asm.js error, then not an odin build
raise Exception("did NOT asm.js'ify")
@@ -12615,7 +12615,7 @@ elif 'benchmark' in str(sys.argv):
start = time.time()
js_output = run_js(final_filename, engine=JS_ENGINE, args=args, stderr=PIPE, full_output=True)
- if i == 0 and 'successfully compiled asm.js code' in js_output:
+ if i == 0 and 'uccessfully compiled asm.js code' in js_output:
if 'asm.js link error' not in js_output:
print "[%s was asm.js'ified]" % name
curr = time.time()-start