r296171 - Try to unbreak tests after r296166
Nico Weber via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 24 13:01:43 PST 2017
Author: nico
Date: Fri Feb 24 15:01:43 2017
New Revision: 296171
URL: http://llvm.org/viewvc/llvm-project?rev=296171&view=rev
Log:
Try to unbreak tests after r296166
Looks like %T isn't per-test but per-test-directory, and
the rm was deleting temp files written by other tests in
test/Format. Limit the rm's scope a bit.
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=296171&r1=296170&r2=296171&view=diff
==============================================================================
--- cfe/trunk/test/Format/inplace.cpp (original)
+++ cfe/trunk/test/Format/inplace.cpp Fri Feb 24 15:01:43 2017
@@ -1,6 +1,6 @@
// Regression test to check that clang-format does not leave behind temporary
// files on Windows when doing in-place formatting.
-// RUN: rm %T/*
+// RUN: rm %T/inplace*
// RUN: cp %s %T/inplace.cpp
// RUN: clang-format -style=LLVM -i %T/inplace.cpp
// RUN: ls %T > %T/files.txt
More information about the cfe-commits
mailing list