diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_core.py | 2 | ||||
-rw-r--r-- | tests/test_other.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index 458e04fb..ce778209 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -1486,7 +1486,7 @@ class T(RunnerCore): # Short name, to make it more fun to use manually on the co def test_segfault(self): if self.emcc_args is None: return self.skip('SAFE_HEAP without ta2 means we check types too, which hide segfaults') - if Settings.ASM_JS: return self.skip('asm does not support safe heap') + if os.environ.get('EMCC_FAST_COMPILER') == '1' and '-O2' not in self.emcc_args: return self.skip('todo in non-jsopts-enabled fastcomp') Settings.SAFE_HEAP = 1 diff --git a/tests/test_other.py b/tests/test_other.py index 00c42418..5e5dd7a6 100644 --- a/tests/test_other.py +++ b/tests/test_other.py @@ -1721,7 +1721,7 @@ f.close() (path_from_root('tools', 'test-js-optimizer-asm-regs.js'), open(path_from_root('tools', 'test-js-optimizer-asm-regs-output.js')).read(), ['asm', 'registerize']), (path_from_root('tools', 'test-js-optimizer-asm-regs-min.js'), open(path_from_root('tools', 'test-js-optimizer-asm-regs-min-output.js')).read(), - ['asm', 'registerize']), + ['asm', 'registerize', 'minifyLocals']), (path_from_root('tools', 'test-js-optimizer-asm-pre.js'), open(path_from_root('tools', 'test-js-optimizer-asm-pre-output.js')).read(), ['asm', 'simplifyExpressions']), (path_from_root('tools', 'test-js-optimizer-asm-last.js'), open(path_from_root('tools', 'test-js-optimizer-asm-last-output.js')).read(), |