[llvm-commits] [llvm] r141092 - /llvm/trunk/test/lit.cfg
David Dean
david_dean at apple.com
Tue Oct 4 09:26:42 PDT 2011
Author: ddean
Date: Tue Oct 4 11:26:41 2011
New Revision: 141092
URL: http://llvm.org/viewvc/llvm-project?rev=141092&view=rev
Log:
Fix PR9833/PR11054 (patch provided by Patrik Hägglund)
Modified:
llvm/trunk/test/lit.cfg
Modified: llvm/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lit.cfg?rev=141092&r1=141091&r2=141092&view=diff
==============================================================================
--- llvm/trunk/test/lit.cfg (original)
+++ llvm/trunk/test/lit.cfg Tue Oct 4 11:26:41 2011
@@ -177,12 +177,12 @@
# includes every tool placed in $(LLVM_OBJ_ROOT)/$(BuildMode)/bin
# (llvm_tools_dir in lit parlance).
# Don't match 'bugpoint-' or 'clang-'.
- # Don't match '/clang'.
+ # Don't match '/clang' or '-clang'.
if os.pathsep == ';':
pathext = os.environ.get('PATHEXT', '').split(';')
else:
pathext = ['']
-for pattern in [r"\bbugpoint\b(?!-)", r"(?<!/)\bclang\b(?!-)",
+for pattern in [r"\bbugpoint\b(?!-)", r"(?<!/|-)\bclang\b(?!-)",
r"\bgold\b",
r"\bllc\b", r"\blli\b",
r"\bllvm-ar\b", r"\bllvm-as\b",
More information about the llvm-commits
mailing list