diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-02-16 19:24:26 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-02-16 19:28:43 -0800 |
commit | 749325298aa5328429ee571f50034adaa4a6423d (patch) | |
tree | 5cfad392279bef01f1f20837d41cb91d489eb8cd /tests | |
parent | 70797b08d802b50c96e79b55b2eb2b13c576971f (diff) |
support memory growth in (non-validating) asm.js
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_core.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index 045b43c1..1349c6c8 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -1961,8 +1961,7 @@ def process(filename): self.do_run_from_file(src, output) def test_memorygrowth(self): - if Settings.USE_TYPED_ARRAYS == 0: return self.skip('memory growth is only supported with typed arrays') - if Settings.ASM_JS: return self.skip('asm does not support memory growth yet') + if Settings.USE_TYPED_ARRAYS != 2: return self.skip('memory growth is only supported with typed arrays mode 2') # With typed arrays in particular, it is dangerous to use more memory than TOTAL_MEMORY, # since we then need to enlarge the heap(s). |