def test_dlmalloc_inline(self):
    self.banned_js_engines = [NODE_JS]
    self.set_setting('INITIAL_MEMORY', ((128 * 1024) * 1024))
    src = ((open(path_from_root('system', 'lib', 'dlmalloc.c')).read() + '\n\n\n') + open(path_from_root('tests', 'dlmalloc_test.c')).read())
    self.do_run(src, '*1,0*', ['200', '1'], force_c=True)
    self.do_run(None, '*400,0*', ['400', '400'], force_c=True, no_build=True)
def test_dlmalloc_inline(self):
    self.banned_js_engines = [NODE_JS]
    self.set_setting('INITIAL_MEMORY', ((128 * 1024) * 1024))
    src = ((open(path_from_root('system', 'lib', 'dlmalloc.c')).read() + '\n\n\n') + open(path_from_root('tests', 'dlmalloc_test.c')).read())
    self.do_run(src, '*1,0*', ['200', '1'], force_c=True)
    self.do_run(None, '*400,0*', ['400', '400'], force_c=True, no_build=True)