[PATCH] D41793: [Debugify] Add an env var to enable faster testing

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 8 09:38:46 PST 2018


davide added a comment.

In https://reviews.llvm.org/D41793#969952, @MatzeB wrote:

> In https://reviews.llvm.org/D41793#969948, @MatzeB wrote:
>
> > In https://reviews.llvm.org/D41793#969946, @davide wrote:
> >
> > > In https://reviews.llvm.org/D41793#969945, @MatzeB wrote:
> > >
> > > > BTW: I usually do this instead of an env var to force some arguments to all invocations of a tool in lit:
> > > >
> > > > `llvm-lit -Dllc="llc -verify-machineinstrs"`
> > >
> > >
> > > If we can go without an enviroment variable, it's even better.
> > >  BTW, I've never heard of this flag, is it documented somewhere? If not, we probably might want to.
> >
> >
> > Probably not. I sneaked that into llvms lit.cfg a long time ago as it was only a 1-line thing but probably very few people know about it. Let me write a sentence or two for TestingGuide.rst
>
>
> Turns I out I already documented it in r236462 :)


:) Thanks!


https://reviews.llvm.org/D41793





More information about the llvm-commits mailing list