summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_core.py3
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).