From 3ab15558d7698201a7d6b9c1831394d18145ffb6 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Tue, 6 Sep 2011 03:01:15 +0000 Subject: 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 --- clang/test/Sema/format-strings-fixit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/Sema/format-strings-fixit.c') 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 -- cgit v1.2.3