Teach the CMake build system to run lit's test suite. These can be run
authorDan Liew <dan@su-root.co.uk>
Fri, 8 Jan 2016 22:36:22 +0000 (22:36 +0000)
committerDan Liew <dan@su-root.co.uk>
Fri, 8 Jan 2016 22:36:22 +0000 (22:36 +0000)
commitad637ba2fd19f34a68d2c4e7f6fff4c79db91f5c
tree527db6c73f71515116cdc06cab56b5f15fe3b986
parent4704a2c28432abe0efaeee88f1b61e36a796163e
Teach the CMake build system to run lit's test suite. These can be run
directy with ``make check-lit`` and are run as part of
``make check-all``.

In principle we should run lit's testsuite before testing LLVM using lit
so that any problems with lit get discovered before testing LLVM so we
can bail out early.  However this implementation (``check-all`` runs all
tests together) seemed simpler and will still report failing lit tests.

Note that the tests and the configured ``lit.site.cfg`` have to be
copied into the build directory to avoid polluting the source tree.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257221 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
utils/lit/CMakeLists.txt [new file with mode: 0644]
utils/lit/tests/lit.cfg
utils/lit/tests/lit.site.cfg.in [new file with mode: 0644]