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

Method _create_parser

deps/v8/tools/testrunner/base_runner.py:210–216  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

208
209
210 def _create_parser(self):
211 parser = optparse.OptionParser()
212 parser.usage = '%prog [options] [tests]'
213 parser.description = """TESTS: %s""" % (TEST_MAP["default"])
214 self._add_parser_default_options(parser)
215 self._add_parser_options(parser)
216 return parser
217
218 def _add_parser_default_options(self, parser):
219 framework_choices = ('default', 'standard_runner', 'num_fuzzer')

Callers 2

executeMethod · 0.95
get_runner_optionsMethod · 0.80

Calls 2

_add_parser_optionsMethod · 0.95

Tested by 1

get_runner_optionsMethod · 0.64