MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / test_dlmalloc_inline

Method test_dlmalloc_inline

test/test_core.py:6479–6486  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6477 @no_asan('depends on the specifics of memory size, which for asan we are forced to increase')
6478 @no_lsan('depends on the specifics of memory size, which for lsan we are forced to increase')
6479 def test_dlmalloc_inline(self):
6480 # needed with typed arrays
6481 if not self.has_changed_setting('INITIAL_MEMORY'):
6482 self.set_setting('INITIAL_MEMORY', '128mb')
6483
6484 src = read_file(path_from_root('system/lib/dlmalloc.c')) + '\n\n\n' + read_file(test_file('dlmalloc_test.c'))
6485 self.do_run(src, '*1,0*', args=['200', '1'], force_c=True)
6486 self.do_run(self.output_name('src'), '*400,0*', args=['400', '400'], force_c=True, no_build=True)
6487
6488 @no_asan('depends on the specifics of memory size, which for asan we are forced to increase')
6489 @no_lsan('depends on the specifics of memory size, which for lsan we are forced to increase')

Callers

nothing calls this directly

Calls 7

do_runMethod · 0.95
test_fileFunction · 0.90
path_from_rootFunction · 0.85
has_changed_settingMethod · 0.80
set_settingMethod · 0.80
output_nameMethod · 0.80
read_fileFunction · 0.50

Tested by

no test coverage detected