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

Function skip_requested_tests

test/runner.py:215–224  ·  view source on GitHub ↗
(args, modules)

Source from the content-addressed store, hash-verified

213
214
215def skip_requested_tests(args, modules):
216 os.environ['EMTEST_SKIP'] = ''
217 for i, arg in enumerate(args):
218 if arg.startswith('skip:'):
219 which = arg.split('skip:')[1]
220 os.environ['EMTEST_SKIP'] = os.environ['EMTEST_SKIP'] + ' ' + which
221 errlog(f'will skip "{which}"')
222 skip_test(which, modules)
223 args[i] = None
224 return [a for a in args if a is not None]
225
226
227def args_for_random_tests(args, modules):

Callers 1

mainFunction · 0.85

Calls 3

errlogFunction · 0.90
skip_testFunction · 0.85
splitMethod · 0.80

Tested by

no test coverage detected