<div dir="ltr">Can you remove the quotes? None of the other tests seem to need them.<div><br></div><div>-- Sean Silva<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 29, 2016 at 6:30 PM, Vedant Kumar 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: vedantk<br>
Date: Tue Mar 29 20:30:47 2016<br>
New Revision: 264817<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=264817&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=264817&view=rev</a><br>
Log:<br>
[profile] Test error reporting by writing to a temp directory<br>
<br>
This test case is meant to check whether verbose error logging works. It<br>
does this by _failing_ to write a profile to a path corresponding to a<br>
directory. Make this clearer by writing to a temporary directory.<br>
<br>
Patch suggested by Sean Silva!<br>
<br>
Modified:<br>
    compiler-rt/trunk/test/profile/instrprof-error.c<br>
<br>
Modified: compiler-rt/trunk/test/profile/instrprof-error.c<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/instrprof-error.c?rev=264817&r1=264816&r2=264817&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/instrprof-error.c?rev=264817&r1=264816&r2=264817&view=diff</a><br>
==============================================================================<br>
--- compiler-rt/trunk/test/profile/instrprof-error.c (original)<br>
+++ compiler-rt/trunk/test/profile/instrprof-error.c Tue Mar 29 20:30:47 2016<br>
@@ -1,5 +1,5 @@<br>
 // RUN: %clang_profgen -o %t -O3 %s<br>
-// RUN: env LLVM_PROFILE_FILE="/" LLVM_PROFILE_VERBOSE_ERRORS=1 %run %t 1 2>&1 | FileCheck %s<br>
+// RUN: env LLVM_PROFILE_FILE="%t/" LLVM_PROFILE_VERBOSE_ERRORS=1 %run %t 1 2>&1 | FileCheck %s<br>
<br>
 int main(int argc, const char *argv[]) {<br>
   if (argc < 2)<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></div></div>