summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/format-strings-fixit.c
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2011-09-06 03:01:15 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2011-09-06 03:01:15 +0000
commit3ab15558d7698201a7d6b9c1831394d18145ffb6 (patch)
tree1101aeda4ce093e8e1b0355009bd323ed5b8f114 /clang/test/Sema/format-strings-fixit.c
parent8ed0ef9bae4d53df19890a514ee649fcabe814b6 (diff)
downloadbcm5719-llvm-3ab15558d7698201a7d6b9c1831394d18145ffb6.tar.gz
bcm5719-llvm-3ab15558d7698201a7d6b9c1831394d18145ffb6.zip
PR10867: Work around a bug in lit. Multiple RUN: lines are joined with &&, so:
RUN: foo RUN: bar || true is equivalent to: RUN: foo && bar || true which is equivalent to: RUN: (foo && bar) || true This resulted in several of the fixit tests not really testing anything. llvm-svn: 139132
Diffstat (limited to 'clang/test/Sema/format-strings-fixit.c')
-rw-r--r--clang/test/Sema/format-strings-fixit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/format-strings-fixit.c b/clang/test/Sema/format-strings-fixit.c
index c2fa2f77074..d03cccb601f 100644
--- a/clang/test/Sema/format-strings-fixit.c
+++ b/clang/test/Sema/format-strings-fixit.c
@@ -1,5 +1,5 @@
// RUN: cp %s %t
-// RUN: %clang_cc1 -pedantic -Wall -fixit %t || true
+// RUN: %clang_cc1 -pedantic -Wall -fixit %t
// RUN: %clang_cc1 -fsyntax-only -pedantic -Wall -Werror %t
// RUN: %clang_cc1 -E -o - %t | FileCheck %s
OpenPOWER on IntegriCloud