]> granicus.if.org Git - clang/commitdiff
Fix test.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 3 Oct 2013 19:18:22 +0000 (19:18 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 3 Oct 2013 19:18:22 +0000 (19:18 +0000)
With -### clang return 0, so we have to use FileCheck to see if there was an
error.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191923 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/x86_features.c

index 056d73625511b3830ae959cff56c641fe95e6c36..26f0bd8bcf0100eec917331214d0c52e2155a7d3 100644 (file)
@@ -3,4 +3,5 @@
 // Note that we filter out all but the last -m(no)sse.
 
 // Test that we don't produce an error with -mieee-fp.
-// RUN: %clang -### %s -mieee-fp -S
+// RUN: %clang -### %s -mieee-fp -S 2>&1 | FileCheck --check-prefix=IEEE %s
+// IEEE-NOT: error: unknown argument