diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2016-03-12 03:03:31 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2016-03-12 03:03:31 +0000 |
commit | cdb6339f8b381f00d38aba3863502eaa3c9e60f2 (patch) | |
tree | a84600ed46164f32e1624857596ade81e1a0e846 /test/Unit | |
parent | 409f59e332caf9fdd414427422ca85c98647ce53 (diff) |
[lit] Hack lit to allow a test suite to request that it is run "early".
This lets us for example start running the unit test suite early. For
'check-llvm' on my machine, this drops the tim e from 44s to 32s!!!!!
It's pretty ugly. I barely know how to write Python, so feel free to
just tell me how I should write it instead. =D Thanks to Filipe and
others for help.
Differential Revision: http://reviews.llvm.org/D18089
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263329 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Unit')
-rw-r--r-- | test/Unit/lit.cfg | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Unit/lit.cfg b/test/Unit/lit.cfg index e481dcc6a7b..30a5d3fab82 100644 --- a/test/Unit/lit.cfg +++ b/test/Unit/lit.cfg @@ -12,6 +12,9 @@ config.name = 'LLVM-Unit' # suffixes: A list of file extensions to treat as test files. config.suffixes = [] +# is_early; Request to run this suite early. +config.is_early = True + # test_source_root: The root path where tests are located. # test_exec_root: The root path where tests should be run. llvm_obj_root = getattr(config, 'llvm_obj_root', None) |