[LLVMdev] [llvm-lit] Mistakes in list of variables and substitutions documentation?
daniel.liew at imperial.ac.uk
Tue Jan 14 13:15:24 PST 2014
I was taking a look at  because I was modifying an external tool to
use llvm-lit instead of the deprecated DejaGNU testing framework and I
was going to submit a patch to document the undocumented '%T'
substitution when I realised the existing documentation doesn't quite
* $test has a '$' prefix whereas most of the others don't.
* I can't see any support for any of these '$' style substitutions
(e.g. subdir, srcroot, objroot) in lit's python code or in the
lit.site.cfg file. The only place I've seen the substitutions
parseIntegratedTestScript() inside TestRunner.py but they all use the
* Why the distinction between variables and substitutions?
More information about the llvm-dev