Use ignore & grep instead of XFAIL.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61307 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mikhail Glushenkov 2008-12-21 07:47:49 +00:00
parent 13a09e298c
commit a01ce0091a

View File

@ -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))]>;