Open Bug 933444 Opened 6 years ago Updated 6 years ago

Add an --install-extension option to mach mochitests

Categories

(Testing :: Mochitest, defect)

defect
Not set

Tracking

(Not tracked)

People

(Reporter: tanvi, Unassigned)

Details

Mochitests previously had a command line option to install an extension before a test ran (--install-extension).  Since the old way of running mochitests is being decommissioned for mach, please add an install extension option to mach.

Feel free to move this to "Core - mach" if "Testing - Mochitest" is not the right product.

Thank you!
This is outside of my area of expertise - jmaher or gps can probably best answer this :-)
really we should ensure that all mochitest options are exposed in mach- and I would prefer if we didn't have to duplicate all code to define these options.

This code will need to be done in the mach_commands.py, not the mochitest harness.
We could get creative and have the mochitest runner expose a "populate argument parser" function. Then, we just need a mechanism inside mach's command dispatch logic to call out to said function.
You need to log in before you can comment on or make changes to this bug.