diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-09-06 03:01:15 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-09-06 03:01:15 +0000 |
commit | 2315318436b3e94d54c220c3b8986e8002394a43 (patch) | |
tree | 9d62d8e07a8ee845ce422bed224835b6bec51f16 /test/FixIt/fixit-errors.c | |
parent | 335a13f069b25b0228d1e9e7cb55a83e6f8058fa (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139132 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FixIt/fixit-errors.c')
-rw-r--r-- | test/FixIt/fixit-errors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/FixIt/fixit-errors.c b/test/FixIt/fixit-errors.c index f8e2295d49..356e862ff6 100644 --- a/test/FixIt/fixit-errors.c +++ b/test/FixIt/fixit-errors.c @@ -1,5 +1,5 @@ // RUN: cp %s %t -// RUN: true || %clang_cc1 -pedantic -verify -fixit -x c %t +// RUN: %clang_cc1 -pedantic -verify -fixit -x c %t // RUN: %clang_cc1 -pedantic -Werror -x c %t // XFAIL: * |