Author: rafael
Date: Thu Oct  3 14:18:22 2013
New Revision: 191923

URL: http://llvm.org/viewvc/llvm-project?rev=191923&view=rev
Log:
Fix test.

With -### clang return 0, so we have to use FileCheck to see if there was an
error.

Modified:
    cfe/trunk/test/Driver/x86_features.c

Modified: cfe/trunk/test/Driver/x86_features.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/x86_features.c?rev=191923&r1=191922&r2=191923&view=diff
==============================================================================
--- cfe/trunk/test/Driver/x86_features.c (original)
+++ cfe/trunk/test/Driver/x86_features.c Thu Oct  3 14:18:22 2013
@@ -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


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to