From 3369faf382a6a18e29ef871fdd9bd9da5445af8c Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 13 Sep 2014 18:52:30 -0700 Subject: [tests] Add support for testing LLVM version in REQUIRES: and XFAIL: lines. - You can now make tests disabled, or expected to fail, by writing something like: // XFAIL: llvm-3.4 or // REQUIRES: not-llvm-3.4 - This mechanism doesn't support version comparisons, it is mostly intended to help with switching over to new LLVM versions and incrementally working through the test failures. --- test/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'test/Makefile') diff --git a/test/Makefile b/test/Makefile index 6be82442..31896075 100644 --- a/test/Makefile +++ b/test/Makefile @@ -76,6 +76,7 @@ lit.site.cfg: lit.site.cfg.in -e "s#@KLEE_TOOLS_DIR@#$(ToolDir)#g" \ -e "s#@LLVM_TOOLS_DIR@#$(LLVMToolDir)#g" \ -e "s#@LLVM_VERSION_MAJOR@#$(LLVM_VERSION_MAJOR)#g" \ + -e "s#@LLVM_VERSION_MINOR@#$(LLVM_VERSION_MINOR)#g" \ -e "s#@LLVMCC@#$(KLEE_BITCODE_C_COMPILER) -I$(PROJ_SRC_ROOT)/include#g" \ -e "s#@LLVMCXX@#$(KLEE_BITCODE_CXX_COMPILER) -I$(PROJ_SRC_ROOT)/include#g" \ -e "s#@ENABLE_UCLIBC@#$(ENABLE_UCLIBC)#g" \ -- cgit 1.4.1