From 96a1da27484c4579e9e6e5e6ad1242865b54ee02 Mon Sep 17 00:00:00 2001 From: Jukka Jylanki Date: Mon, 14 Apr 2014 15:12:01 +0300 Subject: Allow setting SPIDERMONKEY_ENGINE=None in .emscripten to simplify test runner operation. --- tests/test_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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) -- cgit v1.2.3-18-g5258