<div dir="auto">Thanks! That's a good technique, I'll remember it for next time. I wonder if %T should work like that...</div><div class="gmail_extra"><br><div class="gmail_quote">On Feb 28, 2017 5:17 AM, "NAKAMURA Takumi via cfe-commits" <<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: chapuni<br>
Date: Tue Feb 28 04:05:56 2017<br>
New Revision: 296460<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=296460&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project?rev=296460&view=rev</a><br>
Log:<br>
clang/test/Format/inplace.cpp: Avoid using wildcard.<br>
<br>
MSYS' tools don't do globbing.<br>
<br>
Modified:<br>
cfe/trunk/test/Format/inplace.<wbr>cpp<br>
<br>
Modified: cfe/trunk/test/Format/inplace.<wbr>cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Format/inplace.cpp?rev=296460&r1=296459&r2=296460&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/cfe/trunk/test/Format/<wbr>inplace.cpp?rev=296460&r1=<wbr>296459&r2=296460&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- cfe/trunk/test/Format/inplace.<wbr>cpp (original)<br>
+++ cfe/trunk/test/Format/inplace.<wbr>cpp Tue Feb 28 04:05:56 2017<br>
@@ -1,9 +1,11 @@<br>
// Regression test to check that clang-format does not leave behind temporary<br>
// files on Windows when doing in-place formatting.<br>
-// RUN: cp %s %T/inplace.cpp<br>
-// RUN: clang-format -style=LLVM -i %T/inplace.cpp<br>
-// RUN: ls %T > %T/files.txt<br>
-// RUN: FileCheck -strict-whitespace -input-file=%T/files.txt %s<br>
+// RUN: rm -rf %t.dir<br>
+// RUN: mkdir %t.dir<br>
+// RUN: cp %s %t.dir/inplace.cpp<br>
+// RUN: clang-format -style=LLVM -i %t.dir/inplace.cpp<br>
+// RUN: ls %t.dir > %t.dir/files.txt<br>
+// RUN: FileCheck -strict-whitespace -input-file=%t.dir/files.txt %s<br>
<br>
// CHECK-NOT: RF{{.*}}.TMP<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-commits</a><br>
</blockquote></div></div>