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 ebe6e07..ffc126f 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"