From 3926d82c5364825b4d37dfbcedfcf9130a0f0995 Mon Sep 17 00:00:00 2001 From: David Greene Date: Tue, 4 Jan 2011 01:05:30 +0000 Subject: [PATCH] Don't pattern match "/clang" so we don't mangle directory names. Some tests use absolute paths to clang. llvm-svn: 122796 --- test/lit.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/lit.cfg b/test/lit.cfg index 638af28ed9c..b5c5706ad6a 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -156,7 +156,8 @@ for sub in ['llvmgcc', 'llvmgxx', 'emitir', 'compile_cxx', 'compile_c', # includes every tool placed in $(LLVM_OBJ_ROOT)/$(BuildMode)/bin # (llvm_tools_dir in lit parlance). # Don't match 'bugpoint-' or 'clang-'. -for pattern in [r"\bbugpoint\b(?!-)", r"\bclang\b(?!-)", + # Don't match '/clang'. +for pattern in [r"\bbugpoint\b(?!-)", r"(?