[llvm-commits] [llvm] r122779 - /llvm/trunk/test/lit.cfg
    David Greene 
    greened at obbligato.org
       
    Mon Jan  3 13:55:08 PST 2011
    
    
  
Author: greened
Date: Mon Jan  3 15:55:08 2011
New Revision: 122779
URL: http://llvm.org/viewvc/llvm-project?rev=122779&view=rev
Log:
Don't pattern match "clang-" as it may be part of a tool name with a
triple suffix.
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=122779&r1=122778&r2=122779&view=diff
==============================================================================
--- llvm/trunk/test/lit.cfg (original)
+++ llvm/trunk/test/lit.cfg Mon Jan  3 15:55:08 2011
@@ -155,8 +155,8 @@
 # tools that might happen to be in the user's PATH.  Thus this list
 # includes every tool placed in $(LLVM_OBJ_ROOT)/$(BuildMode)/bin
 # (llvm_tools_dir in lit parlance).
-                # Don't match 'bugpoint-'.
-for pattern in [r"\bbugpoint\b(?!-)",   r"\bclang\b",
+                # Don't match 'bugpoint-' or 'clang-'.
+for pattern in [r"\bbugpoint\b(?!-)",   r"\bclang\b(?!-)",
                 r"\bedis\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