def test(output_prefix='', args=[], assert_returncode=None):
    if use_files:
        args += ['-DUSE_FILES']
    print(args)
    old = self.emcc_args[:]
    self.emcc_args += args
    self.do_run(open(path_from_root('tests', 'core', 'FS_exports.cpp')).read(), (open(path_from_root('tests', 'core', (('FS_exports' + output_prefix) + '.txt'))).read(), open(path_from_root('tests', 'core', (('FS_exports' + output_prefix) + '_2.txt'))).read()), assert_returncode=assert_returncode)
    self.emcc_args = old
def test(output_prefix=, args=[], assert_returncode=None):
    if use_files:
        args += ['-DUSE_FILES']
    print(args)
    old = self.emcc_args[:]
    self.emcc_args += args
    self.do_run(open(path_from_root('tests', 'core', 'FS_exports.cpp')).read(), (open(path_from_root('tests', 'core', (('FS_exports' + output_prefix) + '.txt'))).read(), open(path_from_root('tests', 'core', (('FS_exports' + output_prefix) + '_2.txt'))).read()), assert_returncode=assert_returncode)
    self.emcc_args = old