diff options
author | Dan Albert <danalbert@google.com> | 2015-01-09 18:03:29 +0000 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-01-09 18:03:29 +0000 |
commit | 2bcfc6f95ee72144341118ac8bb929895b56e4fc (patch) | |
tree | 176ce789607e3a107c47f7d32d06cef4f415fe56 /libcxx/.gitignore | |
parent | 9ed19665bbe1665551a70e0367b336f27ec0b625 (diff) | |
download | llvm-2bcfc6f95ee72144341118ac8bb929895b56e4fc.tar.gz |
[libc++] Refactor test components into modules.
Summary:
I've moved the bulk of `lit.cfg` into `test/libcxx/testconfig.py` and
`test/libcxx/testformat.py`. All that remains in `lit.cfg` is the
logic to discover lit.site.cfg if lit.cfg was run directly, and the
logic for loading configuration variants.
The configuration variant flow has changed with this patch. Rather
than instantiating an object of type `<VARIANT>Configuration`, we now
instatiate an object of type `Configuration` that was loaded from the
module `<VARIANT>.testconfig.py`.
This has to be done on a per-project basis rather than in LIT itself
because LIT doesn't actually know where the real test directory is,
only where the site configuration is (which is usually in the output
directory). It's simple enough to do though, so it's fine to require
each project to do it themselves.
I also cleaned up all the pylint issues while I was here, which was
mostly just a matter of fixing long lines.
Reviewers: mclow.lists, jroelofs, EricWF
Reviewed By: EricWF
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D6881
llvm-svn: 225532
Diffstat (limited to 'libcxx/.gitignore')
-rw-r--r-- | libcxx/.gitignore | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/libcxx/.gitignore b/libcxx/.gitignore new file mode 100644 index 000000000000..b26d5f7aa908 --- /dev/null +++ b/libcxx/.gitignore @@ -0,0 +1,54 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] + +# C extensions +*.so + +# Distribution / packaging +.Python +env/ +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +#lib/ # We actually have things checked in to lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.cache +nosetests.xml +coverage.xml + +# Translations +*.mo +*.pot + +# Django stuff: +*.log + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ |