<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 5 January 2015 at 11:59, Francisco Lopes da Silva <span dir="ltr"><<a href="mailto:oblita@gmail.com" target="_blank">oblita@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Author: francisco.lopes<br>
Date: Mon Jan  5 13:59:24 2015<br>
New Revision: 225196<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=225196&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=225196&view=rev</a><br>
Log:<br>
Fix lit for builds under /opt<br>
<br>
Modified:<br>
    cfe/trunk/test/lit.cfg<br>
<br>
Modified: cfe/trunk/test/lit.cfg<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/lit.cfg?rev=225196&r1=225195&r2=225196&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/lit.cfg?rev=225196&r1=225195&r2=225196&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/test/lit.cfg (original)<br>
+++ cfe/trunk/test/lit.cfg Mon Jan  5 13:59:24 2015<br>
@@ -306,14 +306,14 @@ tool_dirs = os.path.pathsep.join((clang_<br>
 # For example, don't match 'clang-check-' or '.clang-format'.<br>
 NoPreHyphenDot = r"(?<!(-|\.))"<br>
 NoPostHyphenDot = r"(?!(-|\.))"<br>
+NoPostBar = r"(?!(/|\\))"<br>
<br>
 for pattern in [r"\bFileCheck\b",<br>
                 r"\bc-index-test\b",<br>
                 NoPreHyphenDot + r"\bclang-check\b" + NoPostHyphenDot,<br>
                 NoPreHyphenDot + r"\bclang-format\b" + NoPostHyphenDot,<br>
                 NoPreHyphenDot + r"\bclang-interpreter\b" + NoPostHyphenDot,<br>
-                # FIXME: Some clang test uses opt?<br>
-                NoPreHyphenDot + r"\bopt\b" + NoPostHyphenDot,<br>
+                NoPreHyphenDot + r"\bopt\b" + NoPostBar + NoPostHyphenDot,<br></blockquote><div><br></div><div>Hrm? Clang tests still aren't supposed to be using opt. Please put the fixme back?<br></div><div><br></div><div>The list appears to be:</div><div> - CodeGen/packed-structure.c</div><div> - CodeGenCXX/for-range.cpp</div><div> - CodeGen/mozilla-ms-inline-asm.c</div><div> - CodeGen/2005-09-24-AsmUserPrefix.c</div><div> - CodeGenCXX/for-range-temporaries.cpp</div><div> - CodeGen/2008-07-17-no-emit-on-error.c</div><div> - CodeGen/2005-06-15-ExpandGotoInternalProblem.c</div><div><br></div><div>Nick</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                 # Handle these specially as they are strings searched<br>
                 # for during testing.<br>
                 r"\| \bcount\b",<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br></div></div>