r296460 - clang/test/Format/inplace.cpp: Avoid using wildcard.

NAKAMURA Takumi via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 28 02:05:56 PST 2017


Author: chapuni
Date: Tue Feb 28 04:05:56 2017
New Revision: 296460

URL: http://llvm.org/viewvc/llvm-project?rev=296460&view=rev
Log:
clang/test/Format/inplace.cpp: Avoid using wildcard.

MSYS' tools don't do globbing.

Modified:
    cfe/trunk/test/Format/inplace.cpp

Modified: cfe/trunk/test/Format/inplace.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Format/inplace.cpp?rev=296460&r1=296459&r2=296460&view=diff
==============================================================================
--- cfe/trunk/test/Format/inplace.cpp (original)
+++ cfe/trunk/test/Format/inplace.cpp Tue Feb 28 04:05:56 2017
@@ -1,9 +1,11 @@
 // Regression test to check that clang-format does not leave behind temporary
 // files on Windows when doing in-place formatting.
-// RUN: cp %s %T/inplace.cpp
-// RUN: clang-format -style=LLVM -i %T/inplace.cpp
-// RUN: ls %T > %T/files.txt
-// RUN: FileCheck -strict-whitespace -input-file=%T/files.txt %s
+// RUN: rm -rf %t.dir
+// RUN: mkdir %t.dir
+// RUN: cp %s %t.dir/inplace.cpp
+// RUN: clang-format -style=LLVM -i %t.dir/inplace.cpp
+// RUN: ls %t.dir > %t.dir/files.txt
+// RUN: FileCheck -strict-whitespace -input-file=%t.dir/files.txt %s
 
 // CHECK-NOT: RF{{.*}}.TMP
 




More information about the cfe-commits mailing list