[PATCH] D30380: Teach lit to expand glob expressions

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 28 14:02:25 PST 2017


MatzeB added a comment.



> 
> 
>> Other examples include where a test program can take many inputs, and you put all your input files in a single directory.  Sure you could write out each one, but this is higher maintenance and much uglier to look at when reading the test.  Every time you add or remove an input, you need to go remember to update the test.

The same discussion is going for decades of whether it is fine to use glob constructs in Makefiles (or cmakefiles) to not specify every single source file. I'd say most people think it is a bad idea to use glob there.


https://reviews.llvm.org/D30380





More information about the llvm-commits mailing list