summaryrefslogtreecommitdiffstats
path: root/clang/test/Format
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2015-06-09 12:41:02 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2015-06-09 12:41:02 +0000
commitfea47d418a376c69e57f4a4428748d7b03a73706 (patch)
tree5c53a7d6c197bda261de39171582a9aa7795f722 /clang/test/Format
parenta242aaa501225edf595bb5e338cb926c43fb7670 (diff)
downloadbcm5719-llvm-fea47d418a376c69e57f4a4428748d7b03a73706.tar.gz
bcm5719-llvm-fea47d418a376c69e57f4a4428748d7b03a73706.zip
Remove rm invocations where the file is immediately rewritten later.
This may or may not help making this test less flaky on windows. There's a race condition in lit somewhere. llvm-svn: 239402
Diffstat (limited to 'clang/test/Format')
-rw-r--r--clang/test/Format/style-on-command-line.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/test/Format/style-on-command-line.cpp b/clang/test/Format/style-on-command-line.cpp
index 69c54b2b63f..2e757cc92a5 100644
--- a/clang/test/Format/style-on-command-line.cpp
+++ b/clang/test/Format/style-on-command-line.cpp
@@ -3,13 +3,11 @@
// RUN: clang-format -style="{BasedOnStyle: LLVM, IndentWidth: 7}" %t.cpp | FileCheck -strict-whitespace -check-prefix=CHECK2 %s
// RUN: clang-format -style="{BasedOnStyle: invalid, IndentWidth: 7}" -fallback-style=LLVM %t.cpp 2>&1 | FileCheck -strict-whitespace -check-prefix=CHECK3 %s
// RUN: clang-format -style="{lsjd}" %t.cpp -fallback-style=LLVM 2>&1 | FileCheck -strict-whitespace -check-prefix=CHECK4 %s
-// RUN: [ ! -e %T/.clang-format ] || rm %T/.clang-format
// RUN: printf "BasedOnStyle: google\nIndentWidth: 5\n" > %T/.clang-format
// RUN: clang-format -style=file %t.cpp 2>&1 | FileCheck -strict-whitespace -check-prefix=CHECK5 %s
// RUN: printf "\n" > %T/.clang-format
// RUN: clang-format -style=file -fallback-style=webkit %t.cpp 2>&1 | FileCheck -strict-whitespace -check-prefix=CHECK6 %s
-// RUN: [ ! -e %T/.clang-format ] || rm %T/.clang-format
-// RUN: [ ! -e %T/_clang-format ] || rm %T/_clang-format
+// RUN: rm %T/.clang-format
// RUN: printf "BasedOnStyle: google\nIndentWidth: 6\n" > %T/_clang-format
// RUN: clang-format -style=file %t.cpp 2>&1 | FileCheck -strict-whitespace -check-prefix=CHECK7 %s
// RUN: clang-format -style="{BasedOnStyle: LLVM, PointerBindsToType: true}" %t.cpp | FileCheck -strict-whitespace -check-prefix=CHECK8 %s
OpenPOWER on IntegriCloud