From a01ce0091ae4a5c584e61f3f6db12054d8f54cab Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Sun, 21 Dec 2008 07:47:49 +0000 Subject: [PATCH] Use ignore & grep instead of XFAIL. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61307 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/LLVMC/TestWarnings.td | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/LLVMC/TestWarnings.td b/test/LLVMC/TestWarnings.td index cd4609a6ce2..bf2173c7938 100644 --- a/test/LLVMC/TestWarnings.td +++ b/test/LLVMC/TestWarnings.td @@ -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))]>;