OSDN Git Service

[lit] Add a lit.llvm module that all test suites can use.
authorZachary Turner <zturner@google.com>
Fri, 15 Sep 2017 00:34:00 +0000 (00:34 +0000)
committerZachary Turner <zturner@google.com>
Fri, 15 Sep 2017 00:34:00 +0000 (00:34 +0000)
commitd5831d289eaf3f39b6d3f143810f31b2d0264481
tree175566133c3ffdf7130f9f47b4fd35002ce1a4dd
parent154124adc3c03105c7b308791d656f4392d55bbd
[lit] Add a lit.llvm module that all test suites can use.

To further reduce duplicate code, this patch introduces a module
that configs can simply import and get access to a lot of useful
functionality such as setting up paths, adding features that are
useful across all projects, and other utility-type functions.

For now this only updates llvm's suite to use this new library,
but subsequent patches will update other projects.

Differential Revision: https://reviews.llvm.org/D37778

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313325 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/AddLLVM.cmake
test/lit.cfg
test/lit.site.cfg.in
utils/lit/lit/llvm/__init__.py [new file with mode: 0644]
utils/lit/lit/llvm/config.py [new file with mode: 0644]
utils/lit/lit/util.py