def test_linker_response_file(self):
    objfile = 'response_file.o'
    run_process(([EMCC, '-c', path_from_root('tests', 'hello_world.cpp'), '-o', objfile] + self.get_emcc_args()))
    response_data = (('--start-group ' + objfile) + ' --end-group')
    create_test_file('rsp_file', response_data.replace('\\', '\\\\'))
    run_process(([EMCC, '-Wl,@rsp_file', '-o', 'response_file.o.js'] + self.get_emcc_args()))
    self.do_run('response_file.o.js', 'hello, world', no_build=True)
def test_linker_response_file(self):
    objfile = 'response_file.o'
    run_process(([EMCC, '-c', path_from_root('tests', 'hello_world.cpp'), '-o', objfile] + self.get_emcc_args()))
    response_data = (('--start-group ' + objfile) + ' --end-group')
    create_test_file('rsp_file', response_data.replace('\\', '\\\\'))
    run_process(([EMCC, '-Wl,@rsp_file', '-o', 'response_file.o.js'] + self.get_emcc_args()))
    self.do_run('response_file.o.js', 'hello, world', no_build=True)