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

Method _result_for

deps/v8/tools/testrunner/testproc/fuzzer.py:237–248  ·  view source on GitHub ↗
(self, test, subtest, result)

Source from the content-addressed store, hash-verified

235 self, ANALYSIS_SUFFIX, flags=analysis_flags, keep_output=True)
236
237 def _result_for(self, test, subtest, result):
238 if not self._disable_analysis:
239 if result is not None and subtest.procid.endswith(
240 f'{self.name}-{ANALYSIS_SUFFIX}'):
241 # Analysis phase, for fuzzing we drop the result.
242 if result.has_unexpected_output:
243 self._send_result(test, None)
244 return
245
246 self._gens[test.procid] = self._create_gen(test, result)
247
248 self._try_send_next_test(test)
249
250 def _create_gen(self, test, analysis_result=None):
251 # It will be called with analysis_result==None only when there is no

Callers

nothing calls this directly

Calls 3

_create_genMethod · 0.95
_try_send_next_testMethod · 0.95
_send_resultMethod · 0.80

Tested by

no test coverage detected