From f2a58425cd2a288b1d9fc3d2484ac774d361a0d7 Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Wed, 22 Jun 2011 23:23:19 +0000 Subject: 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 --- test/lit.site.cfg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/lit.site.cfg.in') 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. -- cgit v1.2.3