On 06/05/15 09:59 AM, Gijs Kruitbosch wrote:
On 06/05/2015 14:33, Andrew Halberstadt wrote:
2) --close-when-done is now the default, so this option has been
removed. Use --keep-open to turn it off.
It was a pain to get this right for people's expectations when I messed
with this - mochitest-browser and mochitest-plain behave differently.
Has that difference been preserved when running from mach?
Yeah, you shouldn't notice any difference when running from mach. The
only change is that the harness is handling defaults instead of the mach
command, and that they now both have the same command line. I think what
you are thinking of is when you run a single test. In that case
--keep-open is set for plain, but not browser. I'm not really sure why
that's the case, but the behaviour was preserved.
What does -f mean here and why would I want to change from
mochitest-browser to the longer mochitest -f browser ?
-f is --flavor. When running a single flavor there's not really any
benefit to using one vs the other. It just seems redundant to have N
commands when 1 is enough, but if there is widespread opposition to
removing mochitest-<flavor> it's not a huge deal to keep them.
-Andrew
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform