@@ -8370,7 +8370,7 @@ def test_binaryen_warn_mem(self):
83708370 self.run_process([EMCC, test_file('hello_world.c'), '-sINITIAL_MEMORY=' + str(16 * 1024 * 1024), '--pre-js', 'pre.js', '-sWASM_ASYNC_COMPILATION=0', '-sIMPORTED_MEMORY'])
83718371 out = self.run_js('a.out.js', assert_returncode=NON_ZERO)
83728372 self.assertContained('LinkError', out)
8373- self.assertContained("memory import 2 has a larger maximum size 800 than the module's declared maximum", out)
8373+ self.assertContained("memory import 1 has a larger maximum size 800 than the module's declared maximum", out)
83748374 self.assertNotContained('hello, world!', out)
83758375 # and with memory growth, all should be good
83768376 self.run_process([EMCC, test_file('hello_world.c'), '-sINITIAL_MEMORY=' + str(16 * 1024 * 1024), '--pre-js', 'pre.js', '-sALLOW_MEMORY_GROWTH', '-sWASM_ASYNC_COMPILATION=0', '-sIMPORTED_MEMORY'])
@@ -12850,7 +12850,7 @@ def test_split_module(self, customLoader, jspi):
1285012850 self.assertExists('profile.data')
1285112851
1285212852 wasm_split = os.path.join(building.get_binaryen_bin(), 'wasm-split')
12853- wasm_split_run = [wasm_split, '-g', '--enable-mutable-globals', '--export-prefix=%', 'test_split_module.wasm.orig', '-o1', 'primary.wasm', '-o2', 'secondary.wasm', '--profile=profile.data']
12853+ wasm_split_run = [wasm_split, '-g', '--enable-mutable-globals', '--enable-bulk-memory', '-- export-prefix=%', 'test_split_module.wasm.orig', '-o1', 'primary.wasm', '-o2', 'secondary.wasm', '--profile=profile.data']
1285412854 if jspi:
1285512855 wasm_split_run += ['--jspi', '--enable-reference-types']
1285612856 self.run_process(wasm_split_run)
0 commit comments