[PATCH] D52999: [FileCheck] Annotate input dump (1/7)

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 16 11:00:20 PST 2018


probinson added a comment.

Regarding the bit about environment variables, probably the right thing to do is add a lit.local.cfg to the FileCheck test directory, that zaps the environment variables.  Then most individual FileCheck tests can assume a default environment, and tests for specific non-defaults can set the environment variables directly in the test file.
It would mean you can't run the FileCheck tests *from lit* with an environment variable set.  Unless we invented another env var that lit.local.cfg would look for... but that's for another patch, at this point.


https://reviews.llvm.org/D52999





More information about the llvm-commits mailing list