Closed Bug 1279813 Opened 8 years ago Closed 8 years ago

Handle edge cases in wpt update better

Categories

(Testing :: web-platform-tests, defect)

defect
Not set
normal

Tracking

(firefox50 fixed)

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

People

(Reporter: jgraham, Unassigned)

Details

Attachments

(1 file)

Currently we don't cope very well if there are conflicting results for a test, or if we are trying to update a file with no "expected" value.
Better support for cases where tests get conflicting results and
where there is no expected value in a manifest.

Review commit: https://reviewboard.mozilla.org/r/59118/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/59118/
Attachment #8762416 - Flags: review?(Ms2ger)
Comment on attachment 8762416 [details]
Bug 1279813 - Handle edge cases in wpt update better,

https://reviewboard.mozilla.org/r/59118/#review56126

::: testing/web-platform/harness/wptrunner/manifestupdate.py:36
(Diff revision 1)
>  new results are known, coalesce_expected is called to compute the new
>  set of results and conditionals. The AST of the underlying parsed manifest
>  is updated with the changes, and the result is serialised to a file.
>  """
>  
> +class ConditionError(Exception):

Document this.
Attachment #8762416 - Flags: review?(Ms2ger) → review+
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/12faf2ec748d
Handle edge cases in wpt update better, r=Ms2ger
https://hg.mozilla.org/mozilla-central/rev/12faf2ec748d
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: