Closed Bug 1268092 Opened 9 years ago Closed 9 years ago

Do not install test-specific Python dependencies for every invocation of |./mach mochitest|

Categories

(Core :: WebRTC: Networking, defect, P1)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: chmanchester, Unassigned)

References

Details

Requiring the packages added in bug 1231981 for every local invocation of Mochitests is a lot of overhead. As noted in bug 1268032, several mb of Python archives are downloaded as a result of running |./mach mochitest| for any test. We work hard to reduce overhead for common developer workflows. A separate mach command or flag for the mochitest command should be implemented that will install these packages when required.
Rank: 15
Priority: -- → P1
I'd prefer a conditional to a flag or separate command, e.g if any tests that require the libraries were selected, then install them implicitly. Somewhat related, I wonder if we should have a virtualenv in ~/.mozbuild or similar for things that aren't objdir specific.
Fixed in the re-landing.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.