summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/cpp11-migrate
diff options
context:
space:
mode:
authorEdwin Vane <edwin.vane@intel.com>2013-07-25 20:20:20 +0000
committerEdwin Vane <edwin.vane@intel.com>2013-07-25 20:20:20 +0000
commit5466b7cbbb16acd016c57023cf4560296a1c8de1 (patch)
treeb29f81e7e2933f618984aae57ffc655f5fa0af6d /clang-tools-extra/test/cpp11-migrate
parentc6625bc8a9c2e0ee58f088230c9842ffd44127d2 (diff)
downloadbcm5719-llvm-5466b7cbbb16acd016c57023cf4560296a1c8de1.tar.gz
bcm5719-llvm-5466b7cbbb16acd016c57023cf4560296a1c8de1.zip
cpp11-migrate: Tweak lit tests to avoid false negatives
Recent failures on a freebsd buildbot indicated a weakness in the Reformatting.cpp lit test. Tweaking the test to avoid false negatives and hopefully make the buildbot happy. llvm-svn: 187153
Diffstat (limited to 'clang-tools-extra/test/cpp11-migrate')
-rw-r--r--clang-tools-extra/test/cpp11-migrate/Core/Reformatting.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang-tools-extra/test/cpp11-migrate/Core/Reformatting.cpp b/clang-tools-extra/test/cpp11-migrate/Core/Reformatting.cpp
index d83f89db60d..a98d1e2fb0d 100644
--- a/clang-tools-extra/test/cpp11-migrate/Core/Reformatting.cpp
+++ b/clang-tools-extra/test/cpp11-migrate/Core/Reformatting.cpp
@@ -1,6 +1,7 @@
// RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp
-// RUN: not cpp11-migrate -format-style=FOO -use-auto %t.cpp -- -std=c++11
-// RUN: not cpp11-migrate -format-style=/tmp/ -use-auto %t.cpp -- -std=c++11
+// RUN: not cpp11-migrate -format-style=non_existent_file.yaml -use-auto %t.cpp -- -std=c++11
+// RUN: touch %T/non_format_config.yaml
+// RUN: not cpp11-migrate -format-style=%T/non_format_config.yaml -use-auto %t.cpp -- -std=c++11
// RUN: cpp11-migrate -format-style=LLVM -use-auto %t.cpp -- -std=c++11
// RUN: FileCheck --strict-whitespace -input-file=%t.cpp %s
OpenPOWER on IntegriCloud