<div dir="ltr">This is one of the reasons we usually pipe input into these tools, rather than specify it on teh command line<br><br>opt ... < %s</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 16, 2016 at 12:39 PM, Justin Lebar via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: jlebar<br>
Date: Thu Jun 16 14:39:55 2016<br>
New Revision: 272941<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=272941&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=272941&view=rev</a><br>
Log:<br>
Fix strip-dead-debug-info test if path contains "bar".<br>
<br>
This test checks that the string 'bar' (no quotes) doesn't exist in the<br>
output after running opt.  But opt embeds the absolute path to the<br>
filename, and on my machine, the filename contains the string 'jlebar',<br>
causing the test to fail.<br>
<br>
This patch changes the test to look for the string '"bar"' instead.<br>
<br>
Modified:<br>
    llvm/trunk/test/Transforms/StripSymbols/strip-dead-debug-info.ll<br>
<br>
Modified: llvm/trunk/test/Transforms/StripSymbols/strip-dead-debug-info.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/StripSymbols/strip-dead-debug-info.ll?rev=272941&r1=272940&r2=272941&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/StripSymbols/strip-dead-debug-info.ll?rev=272941&r1=272940&r2=272941&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/StripSymbols/strip-dead-debug-info.ll (original)<br>
+++ llvm/trunk/test/Transforms/StripSymbols/strip-dead-debug-info.ll Thu Jun 16 14:39:55 2016<br>
@@ -1,8 +1,8 @@<br>
 ; RUN: opt -strip-dead-debug-info -verify %s -S | FileCheck %s<br>
<br>
 ; CHECK: ModuleID = '{{.*}}'<br>
-; CHECK-NOT: bar<br>
-; CHECK-NOT: abcd<br>
+; CHECK-NOT: "bar"<br>
+; CHECK-NOT: "abcd"<br>
<br>
 @xyz = global i32 2<br>
<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>