MCPcopy Index your code
hub / github.com/nodejs/node / _parse_test_args

Method _parse_test_args

deps/v8/tools/testrunner/base_runner.py:552–561  ·  view source on GitHub ↗
(self, args)

Source from the content-addressed store, hash-verified

550 return f'external_symbolizer_path={external_symbolizer_path}'
551
552 def _parse_test_args(self, args):
553 if not args:
554 args = self._get_default_suite_names()
555
556 # Expand arguments with grouped tests. The args should reflect the list
557 # of suites as otherwise filters would break.
558 def expand_test_group(name):
559 return TEST_MAP.get(name, [name])
560
561 return reduce(list.__add__, list(map(expand_test_group, args)), [])
562
563 def _args_to_suite_names(self, args):
564 # Use default tests if no test configuration was provided at the cmd line.

Callers 1

executeMethod · 0.95

Calls 4

reduceFunction · 0.50
listFunction · 0.50
mapFunction · 0.50

Tested by

no test coverage detected