diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-04 16:16:58 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-04 16:16:58 +0000 |
commit | 96e7813f08c6adf1d8657b0da86741b54e850fd7 (patch) | |
tree | d0e93406ffb173f5a8f55f9e9cd62c09e6dd7b40 /test/Driver/arc.c | |
parent | 3c7511a44d20d0fd9e287747eb58a00215c57533 (diff) | |
download | clang-96e7813f08c6adf1d8657b0da86741b54e850fd7.tar.gz clang-96e7813f08c6adf1d8657b0da86741b54e850fd7.tar.bz2 clang-96e7813f08c6adf1d8657b0da86741b54e850fd7.tar.xz |
Add 'not' to commands that are expected to fail.
This is at least good documentation, but also opens the possibility of
using pipefail.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185652 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/arc.c')
-rw-r--r-- | test/Driver/arc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/Driver/arc.c b/test/Driver/arc.c index 4c99e5773a..97d00baf4c 100644 --- a/test/Driver/arc.c +++ b/test/Driver/arc.c @@ -1,9 +1,9 @@ -// RUN: %clang -ObjC -target i386-apple-darwin10 -m32 -fobjc-arc %s -fsyntax-only 2>&1 | FileCheck %s -// RUN: %clang -x objective-c -target i386-apple-darwin10 -m32 -fobjc-arc %s -fsyntax-only 2>&1 | FileCheck %s -// RUN: %clang -x objective-c++ -target i386-apple-darwin10 -m32 -fobjc-arc %s -fsyntax-only 2>&1 | FileCheck %s -// RUN: %clang -x c -target i386-apple-darwin10 -m32 -fobjc-arc %s -fsyntax-only 2>&1 | FileCheck -check-prefix NOTOBJC %s -// RUN: %clang -x c++ -target i386-apple-darwin10 -m32 -fobjc-arc %s -fsyntax-only 2>&1 | FileCheck -check-prefix NOTOBJC %s -// RUN: %clang -x objective-c -target x86_64-apple-darwin11 -mmacosx-version-min=10.5 -fobjc-arc %s -fsyntax-only 2>&1 | FileCheck -check-prefix UNSUPPORTED %s +// RUN: not %clang -ObjC -target i386-apple-darwin10 -m32 -fobjc-arc %s -fsyntax-only 2>&1 | FileCheck %s +// RUN: not %clang -x objective-c -target i386-apple-darwin10 -m32 -fobjc-arc %s -fsyntax-only 2>&1 | FileCheck %s +// RUN: not %clang -x objective-c++ -target i386-apple-darwin10 -m32 -fobjc-arc %s -fsyntax-only 2>&1 | FileCheck %s +// RUN: not %clang -x c -target i386-apple-darwin10 -m32 -fobjc-arc %s -fsyntax-only 2>&1 | FileCheck -check-prefix NOTOBJC %s +// RUN: not %clang -x c++ -target i386-apple-darwin10 -m32 -fobjc-arc %s -fsyntax-only 2>&1 | FileCheck -check-prefix NOTOBJC %s +// RUN: not %clang -x objective-c -target x86_64-apple-darwin11 -mmacosx-version-min=10.5 -fobjc-arc %s -fsyntax-only 2>&1 | FileCheck -check-prefix UNSUPPORTED %s // Just to test clang is working. # foo |