Skip to content

Handle ERROR and PRECONDITION_FAILED statuses from test harness#22

Merged
domenic merged 3 commits into
domenic:masterfrom
MattiasBuelens:test-harness-error-status
Mar 19, 2021
Merged

Handle ERROR and PRECONDITION_FAILED statuses from test harness#22
domenic merged 3 commits into
domenic:masterfrom
MattiasBuelens:test-harness-error-status

Conversation

@MattiasBuelens

Copy link
Copy Markdown
Contributor

When an uncaught error happens during an test, the test harness sets the status to ERROR (1) or PRECONDITION_FAILED (4), see documentation. wpt-runner currently ignores these statuses, and incorrectly marks the tests as "passed". This PR fixes that.

See whatwg/streams#1112.

@domenic
domenic merged commit d3b63a2 into domenic:master Mar 19, 2021
@MattiasBuelens
MattiasBuelens deleted the test-harness-error-status branch March 19, 2021 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants