summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2011-06-16 01:33:35 +0000
committerAndrew Trick <atrick@apple.com>2011-06-16 01:33:35 +0000
commit05c087d8934168f6dda429de5b0925a7be0cc9a3 (patch)
tree631a9da577f5eb8b8388c51c5155dacd0ae9a903 /test/Makefile
parent6fce128dd1e160a5d2d11cddec336686ff1f8706 (diff)
downloadllvm-05c087d8934168f6dda429de5b0925a7be0cc9a3.tar.gz
llvm-05c087d8934168f6dda429de5b0925a7be0cc9a3.tar.bz2
llvm-05c087d8934168f6dda429de5b0925a7be0cc9a3.tar.xz
Add support to lit for build mode requirements. e.g.
REQUIRES: Asserts REQUIRES: Debug This required chaining test configuration properties. It seems like a generally good thing to do. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133131 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index 0d84186b1e..e38226a468 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -176,6 +176,7 @@ lit.site.cfg: site.exp
@$(ECHOPATH) s=@LLVM_SOURCE_DIR@=$(LLVM_SRC_ROOT)=g > lit.tmp
@$(ECHOPATH) s=@LLVM_BINARY_DIR@=$(LLVM_OBJ_ROOT)=g >> lit.tmp
@$(ECHOPATH) s=@LLVM_TOOLS_DIR@=$(ToolDir)=g >> lit.tmp
+ @$(ECHOPATH) s=@LLVM_BUILD_MODE@=$(BuildMode)=g >> lit.tmp
@$(ECHOPATH) s=@LLVMGCCDIR@=$(LLVMGCCDIR)=g >> lit.tmp
@$(ECHOPATH) s=@PYTHON_EXECUTABLE@=python=g >> lit.tmp
@$(ECHOPATH) s=@ENABLE_SHARED@=$(ENABLE_SHARED)=g >> lit.tmp