From: Benjamin Kramer Date: Fri, 19 Jul 2013 17:49:21 +0000 (+0000) Subject: Fix test to actually check things. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e36d31edd6020989bdb39f82dea54ef0e747e994;p=clang Fix test to actually check things. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186701 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/systemz-march.c b/test/Driver/systemz-march.c index ebe6e07875..ffc126f14f 100644 --- a/test/Driver/systemz-march.c +++ b/test/Driver/systemz-march.c @@ -1,9 +1,9 @@ // Check that -march works for all supported targets. // RUN: not %clang -target s390x -S -emit-llvm -march=z9 %s -o - 2>&1 | FileCheck --check-prefix=CHECK-Z9 %s -// RUN: %clang -target s390x -S -emit-llvm -march=z10 %s -// RUN: %clang -target s390x -S -emit-llvm -march=z196 %s -// RUN: %clang -target s390x -S -emit-llvm -march=zEC12 %s +// RUN: %clang -target s390x -### -S -emit-llvm -march=z10 %s 2>&1 | FileCheck --check-prefix=CHECK-Z10 %s +// RUN: %clang -target s390x -### -S -emit-llvm -march=z196 %s 2>&1 | FileCheck --check-prefix=CHECK-Z196 %s +// RUN: %clang -target s390x -### -S -emit-llvm -march=zEC12 %s 2>&1 | FileCheck --check-prefix=CHECK-ZEC12 %s // CHECK-Z9: error: unknown target CPU 'z9' // CHECK-Z10: "-target-cpu" "z10"