aboutsummaryrefslogtreecommitdiff
path: root/tests/test_core.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-29 11:30:11 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-09-03 14:41:30 -0700
commite33179a36b1d6867e0a5c59a8e5a9e04b1b8459f (patch)
tree0fce39c7f1c35638ca07cc21f0d4eb2579bef650 /tests/test_core.py
parent02c15ea091feacdd0c40a291346a3e1d7cad7e3b (diff)
fix asm validation of side modules
Diffstat (limited to 'tests/test_core.py')
-rw-r--r--tests/test_core.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index ce976975..285ba08e 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -5754,6 +5754,11 @@ def process(filename):
output_nicerizer=lambda x, err: x.replace('\n', '*'),
post_build=add_pre_run_and_checks)
+ 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)
+
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')
if not self.can_dlfcn(): return