summaryrefslogtreecommitdiffstats
path: root/llvm/test/Unit/lit.cfg.py
Commit message (Collapse)AuthorAgeFilesLines
* [test] Fix propagating HOME envvar to unittestsMichal Gorny2018-12-311-0/+5
| | | | | | | | | | | | | Propagate HOME environment variable to unittests. This is necessary to fix test failures resulting from pw_home pointing to a non-existing directory while being overriden with HOME. Apparently Gentoo users hit this sometimes when they override build directory for Portage. Original bug report: https://bugs.gentoo.org/674088 Differential Revision: https://reviews.llvm.org/D56162 llvm-svn: 350175
* [lit] Make lit support config files with .py extension.Zachary Turner2017-09-211-0/+46
Many editors and Python-related diagnostics tools such as debuggers break or fail in mysterious ways when python files don't end in .py. This is especially true on Windows, but still exists on other platforms. I don't want to be too heavy handed in changing everything across the board, but I do want to at least *allow* lit configs to have .py extensions. This patch makes the discovery process first look for a config file with a .py extension, and if one is not found, then looks for a config file using the old method. So for existing users, there should be no functional change. Differential Revision: https://reviews.llvm.org/D37838 llvm-svn: 313849
OpenPOWER on IntegriCloud