Closed Bug 1439631 Opened 7 years ago Closed 5 years ago

mach test should support --setpref

Categories

(Testing :: General, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: florian, Unassigned)

References

Details

mach mochitest supports --setpref, it would be nice to be able to use it directly with mach test. Apparently mach reftest supports it too since bug 1023464, and support for it in xpcshell tests has been requested in bug 1247136.
Product: Core → Firefox Build System
Component: Mach Core → General
Product: Firefox Build System → Testing
Priority: -- → P3

This works like a charm now:

./mach test --setpref="remote.log.level=Trace" remote/test/browser

But note that when not using the equality sign a failure will be raised. I filed that as bug 1600251.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.