MCPcopy Create free account
hub / github.com/nodejs/node / _process_options

Method _process_options

deps/v8/tools/testrunner/num_fuzzer.py:118–135  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

116
117
118 def _process_options(self):
119 if not self.options.fuzzer_random_seed:
120 self.options.fuzzer_random_seed = random_utils.random_seed()
121
122 if self.options.total_timeout_sec:
123 self.options.tests_count = 0
124
125 if self.options.combine_tests:
126 if self.options.combine_min > self.options.combine_max:
127 print(('min_group_size (%d) cannot be larger than max_group_size (%d)' %
128 self.options.min_group_size, self.options.max_group_size))
129 raise base_runner.TestRunnerError()
130
131 if self.options.variants != 'default':
132 print ('Only default testing variant is supported with numfuzz')
133 raise base_runner.TestRunnerError()
134
135 return True
136
137 def _get_default_suite_names(self):
138 return DEFAULT_SUITES

Callers

nothing calls this directly

Calls 2

random_seedMethod · 0.80
printFunction · 0.50

Tested by

no test coverage detected