aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-04-14 13:58:42 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-04-14 13:58:42 -0700
commit411e6287c76d0cf7ff869fa6fc97237ad8be1b1d (patch)
treed7895c61a0be0b028f58384a1240f7fc8a3e9035 /tests
parent55b5c4b82549cffc872a81eae8bb9f05d445da15 (diff)
parent96a1da27484c4579e9e6e5e6ad1242865b54ee02 (diff)
Merge pull request #2291 from juj/spidermonkey_none
spidermonkey_none
Diffstat (limited to 'tests')
-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 07a7bf77..ab4897f8 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)