[wpt-sync] Sync PR 10998 - [wptrunner] Recover from malformed test manifest

RESOLVED FIXED in Firefox 62

Status

enhancement
P4
normal
RESOLVED FIXED
a year ago
a year ago

People

(Reporter: wptsync, Unassigned)

Tracking

unspecified
mozilla62
Points:
---

Firefox Tracking Flags

(firefox62 fixed)

Details

(Whiteboard: [wptsync downstream], )

Assignee

Description

a year ago
Sync web-platform-tests PR 10998 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/w3c/web-platform-tests/pull/10998
Details from upstream follow.

Mike Pennisi <mike@mikepennisi.com> wrote:
>   [wptrunner] Recover from malformed test manifest 
>  
>  Ensure that the WPT CLI exits successfully when the `--list-tests`
>  option is specified (including the case where no test manifest is
>  present).
>  
>  ---
>  
>  If the process of updating the test manifest is interrupted
>  unexpectedly, the file written to disk may not contain valid JSON.
>  Update that WPT CLI to recognize this condition and recover by
>  re-generating the manifest file.
Assignee

Updated

a year ago
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Assignee

Updated

a year ago
Whiteboard: [wptsync downstream error] → [wptsync downstream]

Comment 3

a year ago
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/69acdec7fe33
[wpt PR 10998] -  [wptrunner] Recover from malformed test manifest , a=testonly

Comment 4

a year ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/69acdec7fe33
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in before you can comment on or make changes to this bug.