diff options
author | Andrew Trick <atrick@apple.com> | 2011-06-22 23:23:19 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2011-06-22 23:23:19 +0000 |
commit | f2a58425cd2a288b1d9fc3d2484ac774d361a0d7 (patch) | |
tree | 886dadc60c20d9c05fae3d279a63608e10ba32f1 /test/lit.cfg | |
parent | 1a3ab63cb59d7f7726b47cdda3b9509e999d1653 (diff) |
lit support for REQUIRES: asserts.
Take #2. Don't piggyback on the existing config.build_mode. Instead,
define a new lit feature for each build feature we need (currently
just "asserts"). Teach both autoconf'd and cmake'd Makefiles to define
this feature within test/lit.site.cfg. This doesn't require any lit
harness changes and should be more robust across build systems.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133664 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.cfg')
-rw-r--r-- | test/lit.cfg | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lit.cfg b/test/lit.cfg index 9a2f74c21c..ef56473af5 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -306,3 +306,6 @@ else: if loadable_module: config.available_features.add('loadable_module') + +if config.enable_assertions: + config.available_features.add('asserts') |