aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-01-23 17:57:04 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-01-23 17:57:04 -0800
commitb16ca703d7acd4ef312ef6caec6df878f92f58c9 (patch)
tree467996d9df8bc5d80b1c961205336a0b9ada9099 /tests
parent5330f281492e6e38d6448d8900006565b8c19a03 (diff)
fail on odin not validing asm.js code, in odin builds
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index d876d8f9..8c2a47bd 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -279,8 +279,8 @@ process(sys.argv[1])
if engine == SPIDERMONKEY_ENGINE and Settings.ASM_JS:
if 'Successfully compiled asm.js code' in err and 'asm.js link error' not in err:
print >> sys.stderr, "[was asm.js'ified]"
- else:
- print >> sys.stderr, "[did NOT asm.js'ify]"
+ elif 'asm.js' in err: # if no asm.js error, then not an odin build
+ raise Exception("did NOT asm.js'ify")
if output_nicerizer:
ret = output_nicerizer(out, err)
else: