aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-07-29 13:07:57 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-07-29 13:07:57 -0700
commitdf145aa4b2b8f04b3883ffb955dfd7e499da13f8 (patch)
tree0dfb60bfbe1337ffeef7a23b6823967f65533948 /tests/runner.py
parentc1e16b134729a0e39beca4211a9bd9468ebb466b (diff)
updates for latest spidermonkey trunk
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index e46683dd..1ea17a63 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -3145,7 +3145,8 @@ else:
USE_CLOSURE_COMPILER = 1
if USE_CLOSURE_COMPILER:
- SPIDERMONKEY_ENGINE = filter(lambda x: x != '-s', SPIDERMONKEY_ENGINE) # closure generates non-strict
+ index = SPIDERMONKEY_ENGINE.index("options('strict')")
+ SPIDERMONKEY_ENGINE = SPIDERMONKEY_ENGINE[:index-1] + SPIDERMONKEY_ENGINE[index+1:] # closure generates non-strict
COMPILER = CLANG
JS_ENGINE = SPIDERMONKEY_ENGINE