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

Function _JoinsPassAndFail

deps/v8/tools/testrunner/local/statusfile.py:150–158  ·  view source on GitHub ↗

Indicates if we join PASS and FAIL from two different outcome sets and the first doesn't already contain both.

(outcomes1, outcomes2)

Source from the content-addressed store, hash-verified

148
149
150def _JoinsPassAndFail(outcomes1, outcomes2):
151 """Indicates if we join PASS and FAIL from two different outcome sets and
152 the first doesn't already contain both.
153 """
154 return (
155 PASS in outcomes1 and
156 not (FAIL in outcomes1 or FAIL_OK in outcomes1) and
157 (FAIL in outcomes2 or FAIL_OK in outcomes2)
158 )
159
160VARIANT_EXPRESSION = object()
161

Callers 1

_ParseOutcomeListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected