diff --git a/test/test_core.py b/test/test_core.py index 201d55b4efb5b..40b08cd84cb10 100644 --- a/test/test_core.py +++ b/test/test_core.py @@ -8599,7 +8599,7 @@ def test_memprof_requirements(self): } }; ''') - self.do_runf('hello_world.c', 'able to run memprof', cflags=['--memoryprofiler', '--pre-js=pre.js']) + self.do_runf('hello_world.c', 'able to run memprof', cflags=['--memoryprofiler', '--pre-js=pre.js', '-sINCOMING_MODULE_JS_API=onRuntimeInitialized']) @no_wasmfs('depends on MEMFS which WASMFS does not have') def test_fs_dict(self):