Closed Bug 1468634 Opened 6 years ago Closed 6 years ago

Allow running a single APZ mochitest subtest at a time

Categories

(Core :: Panning and Zooming, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: botond, Assigned: botond)

Details

Attachments

(2 files)

For quick iteration on an APZ mochitest subtest, it would be nice if there way a way to just run the one subtest rather than the entire test group (that's more convenient than temporarily modifying the test_group_*.html file to comment out all the other subtests)
Andrew, is there a way for |mach mochitest| to somehow "pass through" an argument to the test being run (i.e., make an argument available in a place that a mochitest's code can read)?

If we had that ability, then wiring this up on the APZ test runner side would be easy.
Flags: needinfo?(ahal)
Prefs are probably your best bet. You could use --setpref for the time being, or if you want a more descriptive argument we can create one that sets a pref under the hood.
Flags: needinfo?(ahal)
Thanks, that'll be good enough for now.
Assignee: nobody → botond
Priority: -- → P3
Comment on attachment 8985848 [details]
Bug 1468634 - Don't silently swallow exceptions thrown in rubSubtestsSeriallyInFreshWindows().

https://reviewboard.mozilla.org/r/251328/#review257660
Attachment #8985848 - Flags: review?(bugmail) → review+
Comment on attachment 8985849 [details]
Bug 1468634 - Allow running a single APZ mochitest subtest at a time.

https://reviewboard.mozilla.org/r/251330/#review257662

Nice, thanks!
Attachment #8985849 - Flags: review?(bugmail) → review+
Pushed by bballo@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b42241e5b198
Don't silently swallow exceptions thrown in rubSubtestsSeriallyInFreshWindows(). r=kats
https://hg.mozilla.org/integration/autoland/rev/628bd444ead1
Allow running a single APZ mochitest subtest at a time. r=kats
https://hg.mozilla.org/mozilla-central/rev/b42241e5b198
https://hg.mozilla.org/mozilla-central/rev/628bd444ead1
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Flags: qe-verify-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: