On Sat, Sep 2, 2017 at 1:00 PM Randell Jesup <rje...@jesup.org> wrote:
> >+to...@lists.mozilla.org > > > >There have been a bunch of new features added here I'd like to highlight: > > > - --env: You can now set environment variables in your tasks directly > > from the command line, e.g: > > - ./mach try fuzzy --env XPCOM_DEBUG_BREAK=stack --env > > MOZ_LOG="example_logger:3"| > > This is *awesome*; I've been wanting this for YEARS. Does this work > without 'fuzzy'? > Yes and no :). There has been a --setenv option to try syntax for a fair while now, but I don't think it works with all tasks (likely just test tasks like mochitest, reftest, xpcshell, etc). I haven't tried this myself though, I'm not even sure if it's still working or not. The |mach try fuzzy| implementation is built on top of a much more general purpose mechanism that isn't (and won't be) available to try syntax. The main benefit of the |mach try fuzzy| implementation is that it will set the env in every task that gets scheduled no matter what kind/type. > - --save/--preset: Works the same as try syntax, using the --query > > argument. E.g: > > - ./mach try fuzzy --save reftest -q "!cov !pgo 'reftest !jsreftest" > > - ./mach try --preset reftest > > Also really great. > > -- > Randell Jesup, Mozilla Corp > remove "news" for personal email > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform > _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform