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.site.cfg.in | |
parent | 1a3ab63cb59d7f7726b47cdda3b9509e999d1653 (diff) | |
download | llvm-f2a58425cd2a288b1d9fc3d2484ac774d361a0d7.tar.gz llvm-f2a58425cd2a288b1d9fc3d2484ac774d361a0d7.tar.bz2 llvm-f2a58425cd2a288b1d9fc3d2484ac774d361a0d7.tar.xz |
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.site.cfg.in')
-rw-r--r-- | test/lit.site.cfg.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lit.site.cfg.in b/test/lit.site.cfg.in index a61920f229..6c33831124 100644 --- a/test/lit.site.cfg.in +++ b/test/lit.site.cfg.in @@ -5,9 +5,9 @@ config.llvm_obj_root = "@LLVM_BINARY_DIR@" config.llvm_tools_dir = "@LLVM_TOOLS_DIR@" config.llvmgcc_dir = "@LLVMGCCDIR@" config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@" -config.llvm_build_modes = "@LLVM_BUILD_MODE@".split('+') config.python_executable = "@PYTHON_EXECUTABLE@" config.enable_shared = @ENABLE_SHARED@ +config.enable_assertions = @LLVM_ENABLE_ASSERTIONS@ # Support substitution of the tools_dir with user parameters. This is # used when we can't determine the tool dir at configuration time. |