@parameterized({'default': ([],), 'streaming': (['-s', 'MINIMAL_RUNTIME_STREAMING_WASM_COMPILATION=1'],), 'streaming_inst': (['-s', 'MINIMAL_RUNTIME_STREAMING_WASM_INSTANTIATION=1'],), 'no_export': (['-s', 'DECLARE_ASM_MODULE_EXPORTS=0'],)})
def test_minimal_runtime_hello_world(self, args):
    self.banned_js_engines = [V8_ENGINE, SPIDERMONKEY_ENGINE]
    self.emcc_args = (['-s', 'MINIMAL_RUNTIME=1'] + args)
    self.set_setting('MINIMAL_RUNTIME', 1)
    self.maybe_closure()
    self.do_run(open(path_from_root('tests', 'small_hello_world.c')).read(), 'hello')
@parameterized({'default': ([],), 'streaming': (['-s', 'MINIMAL_RUNTIME_STREAMING_WASM_COMPILATION=1'],), 'streaming_inst': (['-s', 'MINIMAL_RUNTIME_STREAMING_WASM_INSTANTIATION=1'],), 'no_export': (['-s', 'DECLARE_ASM_MODULE_EXPORTS=0'],)})
def test_minimal_runtime_hello_world(self, args):
    self.banned_js_engines = [V8_ENGINE, SPIDERMONKEY_ENGINE]
    self.emcc_args = (['-s', 'MINIMAL_RUNTIME=1'] + args)
    self.set_setting('MINIMAL_RUNTIME', 1)
    self.maybe_closure()
    self.do_run(open(path_from_root('tests', 'small_hello_world.c')).read(), 'hello')