aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-10-25 19:55:09 -0700
committeralon@honor <none@none>2010-10-25 19:55:09 -0700
commitfcb71c83e999564738683adfd2de8e1a915467ec (patch)
treebf06856c7a616ea2582fd34b1b9e81c987e3815e /tests
parent9ba7957609f258c36036004b557e139591ef67c1 (diff)
fix bug with type of |select|
Diffstat (limited to 'tests')
-rw-r--r--tests/runner.py5
-rw-r--r--tests/settings.py2
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 8191d725..d507ba07 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -1022,7 +1022,7 @@ else:
tests_done = 0
total_times = map(lambda x: 0., range(TEST_REPS))
- class Benchmark(RunnerCore): # Short name, to make it more fun to use manually on the commandline
+ class Benchmark(RunnerCore):
def print_stats(self, times):
mean = sum(times)/len(times)
squared_times = map(lambda x: x*x, times)
@@ -1042,6 +1042,9 @@ else:
os.remove(filename + '.cc.js')
except:
pass
+ # Something like this:
+ # java -jar CLOSURE_COMPILER --compilation_level ADVANCED_OPTIMIZATIONS --formatting PRETTY_PRINT --variable_map_output_file src.cpp.o.js.vars --js src.cpp.o.js --js_output_file src.cpp.o.cc.js
+
cc_output = Popen(['java', '-jar', CLOSURE_COMPILER,
'--compilation_level', 'ADVANCED_OPTIMIZATIONS',
'--formatting', 'PRETTY_PRINT',
diff --git a/tests/settings.py b/tests/settings.py
index 9d1002eb..e2d99e32 100644
--- a/tests/settings.py
+++ b/tests/settings.py
@@ -35,7 +35,7 @@ COMPILER_ENGINE=V8_ENGINE
OUTPUT_TO_SCREEN = 0 # useful for debugging specific tests, or for subjectively seeing what parts are slow
-TIMEOUT = 360
+TIMEOUT = None
CLOSURE_COMPILER = os.path.expanduser('~/Dev/closure-compiler/compiler.jar')