diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-30 00:26:27 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-30 00:26:27 -0700 |
commit | 31a6579468a7a7cd64adb9112bde325620083189 (patch) | |
tree | 77bb464c84dbbe9fbbcc75ce85f326301122e99d /tests/runner.py | |
parent | ce31f61312f41eebb7be52a2a7bcce5380e332fc (diff) |
use only existing js engines in test runner
Diffstat (limited to 'tests/runner.py')
-rw-r--r-- | tests/runner.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index 901adc8e..80cb10b5 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -236,6 +236,8 @@ if 'benchmark' not in str(sys.argv): js_engines = [SPIDERMONKEY_ENGINE, V8_ENGINE] if Settings.USE_TYPED_ARRAYS == 2: js_engines = [SPIDERMONKEY_ENGINE] # when oh when will v8 support typed arrays in the console + js_engines = filter(lambda engine: os.path.exists(engine[0]), js_engines) + assert len(js_engines) > 0, 'No JS engine present to run this test with. Check ~/.emscripten and the paths therein.' for engine in js_engines: js_output = self.run_generated_code(engine, filename + '.o.js', args) if output_nicerizer is not None: |