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

Method allow_pass

deps/v8/tools/testrunner/objects/testcase.py:192–199  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

190 self.expected_outcomes + [statusfile.TIMEOUT])
191
192 def allow_pass(self):
193 if self.expected_outcomes == outproc.OUTCOMES_TIMEOUT:
194 self._expected_outcomes = outproc.OUTCOMES_PASS_OR_TIMEOUT
195 elif self.expected_outcomes == outproc.OUTCOMES_FAIL:
196 self._expected_outcomes = outproc.OUTCOMES_FAIL_OR_PASS
197 elif statusfile.PASS not in self.expected_outcomes:
198 self._expected_outcomes = (
199 self.expected_outcomes + [statusfile.PASS])
200
201 # TODO(jgruber): Due to flag contradiction logic complexity, we will never
202 # fully match the v8 logic here. What we should do instead is simply ask v8

Callers 1

_next_testMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected