[llvm-commits] [llvm] r61307 - /llvm/trunk/test/LLVMC/TestWarnings.td

Mikhail Glushenkov foldr at codedgers.com
Sat Dec 20 23:47:50 PST 2008


Author: foldr
Date: Sun Dec 21 01:47:49 2008
New Revision: 61307

URL: http://llvm.org/viewvc/llvm-project?rev=61307&view=rev
Log:
Use ignore & grep instead of XFAIL.

Modified:
    llvm/trunk/test/LLVMC/TestWarnings.td

Modified: llvm/trunk/test/LLVMC/TestWarnings.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LLVMC/TestWarnings.td?rev=61307&r1=61306&r2=61307&view=diff

==============================================================================
--- llvm/trunk/test/LLVMC/TestWarnings.td (original)
+++ llvm/trunk/test/LLVMC/TestWarnings.td Sun Dec 21 01:47:49 2008
@@ -1,9 +1,7 @@
 // Check that the compiler warns about unused options.
 // This should fail because the output is printed on stderr.
-// RUN: tblgen -I $srcroot/include --gen-llvmc %s | grep extern
-// XFAIL: *
+// RUN: ignore tblgen -I $srcroot/include --gen-llvmc %s |& grep "option '-Wall' has no effect!"
 
 include "llvm/CompilerDriver/Common.td"
 
-def OptList : OptionList<[(extern_switch "Wall"),
-    (extern_parameter "std"), (extern_list "L")]>;
+def OptList : OptionList<[(switch_option "Wall", (extern))]>;





More information about the llvm-commits mailing list