From 85afe6e007dad36772914d18451f4d67cbf20549 Mon Sep 17 00:00:00 2001 From: Anthony Pesch Date: Mon, 12 Aug 2013 15:05:35 -0700 Subject: Move JS_ENGINE_OVERRIDE to shared Building object to avoid sys.modules hack --- tests/test_benchmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_benchmark.py') diff --git a/tests/test_benchmark.py b/tests/test_benchmark.py index 6efc1f63..e9cfee52 100644 --- a/tests/test_benchmark.py +++ b/tests/test_benchmark.py @@ -56,7 +56,7 @@ class benchmark(RunnerCore): # Pick the JS engine to benchmark. If you specify one, it will be picked. For example, python tests/runner.py benchmark SPIDERMONKEY_ENGINE global JS_ENGINE - JS_ENGINE = runner.js_engine_override if runner.js_engine_override is not None else JS_ENGINES[0] + JS_ENGINE = Building.JS_ENGINE_OVERRIDE if Building.JS_ENGINE_OVERRIDE is not None else JS_ENGINES[0] print 'Benchmarking JS engine: %s' % JS_ENGINE def print_stats(self, times, native_times, last=False, reps=TEST_REPS): -- cgit v1.2.3-18-g5258