llvm-project/libcxx
Dan Albert 2bcfc6f95e [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
2015-01-09 18:03:29 +00:00
..
cmake Fix build regression caused by not defining ABI library macros 2014-11-15 17:25:23 +00:00
include K-Ballo found a place where we were using 'V' as a template parameter. Replace with '_Vp' for protection against user-defined macros. 2015-01-09 17:03:36 +00:00
lib [cmake/multilib] Teach libc++'s CMake build to support multilib libdir 2014-12-29 12:15:47 +00:00
src [libcxx] Set _LIBCPP_ELAST for mingw. 2015-01-06 17:34:51 +00:00
test [libc++] Refactor test components into modules. 2015-01-09 18:03:29 +00:00
www [libcxx] Add numerous options to libc++ LIT test suite configuration. 2014-12-22 20:49:45 +00:00
.arcconfig Update Arcanist config to point to reviews.llvm.org 2014-06-10 18:29:36 +00:00
.gitignore [libc++] Refactor test components into modules. 2015-01-09 18:03:29 +00:00
CMakeLists.txt [cmake/multilib] Teach libc++'s CMake build to support multilib libdir 2014-12-29 12:15:47 +00:00
CREDITS.TXT Add self to credits 2014-08-21 04:21:43 +00:00
LICENSE.TXT Update the copyright credits -- Happy new year 2014! 2014-01-01 08:27:31 +00:00
Makefile Revert "Fix installheaders target's permissions" 2014-12-16 05:28:07 +00:00