Closed Bug 1408977 Opened 5 years ago Closed 5 years ago

Support running wpt with chaos mode

Categories

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

Version 3
enhancement
Not set
normal

Tracking

(firefox58 fixed)

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: jgraham, Assigned: jgraham)

Details

Attachments

(1 file)

Allow running wpt tests under chaos mode using a --chaos flag.
Comment on attachment 8918821 [details]
Bug 1408977 - Allow running wpt test with chos mode using --chaos[=flag],

https://reviewboard.mozilla.org/r/189682/#review195120

This looks fine - thanks!

::: testing/web-platform/tests/tools/wptrunner/wptrunner/wptcommandline.py:203
(Diff revision 1)
>                               help="Disable reftest runner implemented inside Marionette")
>      gecko_group.add_argument("--reftest-screenshot", dest="reftest_screenshot", action="store",
>                               choices=["always", "fail", "unexpected"], default="unexpected",
>                               help="With --reftest-internal, when to take a screenshot")
> +    gecko_group.add_argument("--chaos", dest="chaos_mode_flags", action="store",
> +                             nargs="?", const=3, type=int,

Did you make the default 3 because that's what --verify uses? That's reasonable, but be aware that's (hopefully) a temporary condition. I hope to enable all chaos mode features for --verify (bug 1390884), eventually.
Attachment #8918821 - Flags: review?(gbrown) → review+
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/autoland/rev/917b66c1e16d
Allow running wpt test with chos mode using --chaos[=flag], r=gbrown
https://hg.mozilla.org/mozilla-central/rev/917b66c1e16d
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Assignee: nobody → james
You need to log in before you can comment on or make changes to this bug.