From c0408d39ab3022b2e3fac47318d9c055e83a2437 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 4 Sep 2013 15:11:47 -0700 Subject: [PATCH] do not fail in test_dlfcn_qsort of js engine cannot do asm validation; fixes #1591 --- tests/test_core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_core.py b/tests/test_core.py index 6bb5ccb67..fca58e600 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -5751,8 +5751,8 @@ def process(filename): if Settings.ASM_JS and os.path.exists(SPIDERMONKEY_ENGINE[0]): out = run_js('liblib.so', engine=SPIDERMONKEY_ENGINE, full_output=True, stderr=STDOUT) - assert 'asm' in out - self.validate_asmjs(out) + if 'asm' in out: + self.validate_asmjs(out) def test_dlfcn_data_and_fptr(self): if Settings.ASM_JS: return self.skip('this is not a valid case - libraries should not be able to access their parents globals willy nilly')