aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-05-25 10:53:50 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-05-25 10:53:50 -0700
commit2f07663738e2441a14b941e90495fe0c74f33fd0 (patch)
tree2d10d068801f22e29ebd416d05dc809ee7cccbf6
parent55dd99e760628deadabc606970208b481e1b1e36 (diff)
do not use strict mode in benchmarks
-rw-r--r--tests/runner.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index f1702bcf..af1d283b 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -2431,6 +2431,11 @@ else:
assert(os.path.exists(CLOSURE_COMPILER))
+ USE_CLOSURE_COMPILER = 1
+
+ if USE_CLOSURE_COMPILER:
+ SPIDERMONKEY_ENGINE = filter(lambda x: x != '-s', SPIDERMONKEY_ENGINE) # closure generates non-strict
+
COMPILER = CLANG
JS_ENGINE = SPIDERMONKEY_ENGINE
#JS_ENGINE = V8_ENGINE
@@ -2447,8 +2452,6 @@ else:
CORRECT_OVERFLOWS_LINES = CORRECT_SIGNS_LINES = CORRECT_ROUNDINGS_LINES = SAFE_HEAP_LINES = []
LLVM_OPTS = 1
- USE_CLOSURE_COMPILER = 1
-
TEST_REPS = 3
TOTAL_TESTS = 4