aboutsummaryrefslogtreecommitdiff
path: root/tests/test_core.py
diff options
context:
space:
mode:
authorJukka Jylanki <jujjyl@gmail.com>2014-04-14 15:12:01 +0300
committerJukka Jylanki <jujjyl@gmail.com>2014-04-14 15:12:01 +0300
commit96a1da27484c4579e9e6e5e6ad1242865b54ee02 (patch)
tree091a7223f13dd5d807818b96d30a48cc5261f707 /tests/test_core.py
parent022873c12ec07fab6fbd72d04f7a2616b8f0abc9 (diff)
Allow setting SPIDERMONKEY_ENGINE=None in .emscripten to simplify test runner operation.
Diffstat (limited to 'tests/test_core.py')
-rw-r--r--tests/test_core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index a3712de2..1dc5066b 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -2983,7 +2983,7 @@ def process(filename):
output_nicerizer=lambda x, err: x.replace('\n', '*'),
post_build=self.dlfcn_post_build)
- if Settings.ASM_JS and os.path.exists(SPIDERMONKEY_ENGINE[0]):
+ if Settings.ASM_JS and SPIDERMONKEY_ENGINE and os.path.exists(SPIDERMONKEY_ENGINE[0]):
out = run_js('liblib.so', engine=SPIDERMONKEY_ENGINE, full_output=True, stderr=STDOUT)
if 'asm' in out:
self.validate_asmjs(out)