@no_fastcomp('this feature works in fastcomp, but test outputs are sensitive to wasm backend')
@no_optimize('output is sensitive to optimization flags, so only test unoptimized builds')
@no_asan('ASan does not support custom memory allocators')
@no_lsan('LSan does not support custom memory allocators')
def test_emmalloc_memory_statistics(self, *args):
    self.set_setting('MALLOC', 'emmalloc')
    self.emcc_args += (['-s', 'INITIAL_MEMORY=128MB', '-g'] + list(args))
    self.do_run_in_out_file_test('tests', 'core', 'test_emmalloc_memory_statistics')
@no_fastcomp('this feature works in fastcomp, but test outputs are sensitive to wasm backend')
@no_optimize('output is sensitive to optimization flags, so only test unoptimized builds')
@no_asan('ASan does not support custom memory allocators')
@no_lsan('LSan does not support custom memory allocators')
def test_emmalloc_memory_statistics(self, *args):
    self.set_setting('MALLOC', 'emmalloc')
    self.emcc_args += (['-s', 'INITIAL_MEMORY=128MB', '-g'] + list(args))
    self.do_run_in_out_file_test('tests', 'core', 'test_emmalloc_memory_statistics')