diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-09-04 15:11:47 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-04 15:12:46 -0700 |
commit | c0408d39ab3022b2e3fac47318d9c055e83a2437 (patch) | |
tree | 0620b514929649db56fe0643aeb05e7f0d8b9f6a | |
parent | d2a3ea8ca82533ac4dae07605aa56dee8bee9558 (diff) |
do not fail in test_dlfcn_qsort of js engine cannot do asm validation; fixes #1591
-rw-r--r-- | tests/test_core.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index 6bb5ccb6..fca58e60 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') |