[LLVMdev] Getting FileCheck's colored output through lit (& possibly ninja)

Robinson, Paul Paul_Robinson at playstation.sony.com
Tue Apr 8 09:04:20 PDT 2014


> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of Nico Rieck
> 
> On 07.04.2014 22:16, David Blaikie wrote:
> > [...] How/where do we pass the flag, then? Would that require
> > replacing every FileCheck usage with %FileCheck and having lit do the
> > replacement? Or are there less intrusive alias options?
> 
> Just a quick note: lit is already replacing all LLVM tool names instead
> of relying on $PATH (see test/lit.cfg). This could easily be adapted to
> add a flag for FileCheck.

Let's not do that.  A % substitution is the right way to define some
standard set of flags (e.g. %clang_cc1).  I find the path-insertion
hack useful for other reasons, but it's a hack.
--paulr






More information about the llvm-dev mailing list