Open Bug 1046011 Opened 5 years ago Updated 5 years ago

Support passing DMD options for mochitest

Categories

(Testing :: Mochitest, defect)

defect
Not set

Tracking

(Not tracked)

People

(Reporter: swu, Unassigned)

Details

We have --dmd option to activate DMD in mochitest.  It would be nice if we can also pass other DMD options(see [1] for available DMD options).

For example, we may want to pass --sample-below=1 to get a precise report.

[1] https://wiki.mozilla.org/Performance/MemShrink/DMD
I thought it was possible somehow... froydnj should know if it is.
Flags: needinfo?(nfroyd)
We don't support passing in DMD options right now.  I suppose we could modify the --dmd option to mach (and --dump-dmd-after-test for runtests.py itself) to take an optional argument for the DMD environment variable.  If that argument isn't provided, we should just pass '1', as we do currently.
Flags: needinfo?(nfroyd)
You need to log in before you can comment on or make changes to this bug.