r296460 - clang/test/Format/inplace.cpp: Avoid using wildcard.
Nico Weber via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 28 05:30:50 PST 2017
Thanks! That's a good technique, I'll remember it for next time. I wonder
if %T should work like that...
On Feb 28, 2017 5:17 AM, "NAKAMURA Takumi via cfe-commits" <
cfe-commits at lists.llvm.org> wrote:
> 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
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170228/c60e8eb3/attachment.html>
More information about the cfe-commits
mailing list