Author: djg Date: Tue Dec 11 09:50:23 2007 New Revision: 44866 URL: http://llvm.org/viewvc/llvm-project?rev=44866&view=rev Log: Use not instead of ignore when an exit status is expected to always be non-zero.
Modified: llvm/trunk/test/Assembler/2004-11-28-InvalidTypeCrash.ll llvm/trunk/test/Assembler/2005-01-31-CallingAggregateFunction.ll llvm/trunk/test/CFrontend/2006-09-25-DebugFilename.c llvm/trunk/test/Feature/globalredefinition3.ll llvm/trunk/test/Linker/link-messages.ll llvm/trunk/test/Linker/redefinition.ll llvm/trunk/test/Verifier/2006-10-15-AddrLabel.ll Modified: llvm/trunk/test/Assembler/2004-11-28-InvalidTypeCrash.ll URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Assembler/2004-11-28-InvalidTypeCrash.ll?rev=44866&r1=44865&r2=44866&view=diff ============================================================================== --- llvm/trunk/test/Assembler/2004-11-28-InvalidTypeCrash.ll (original) +++ llvm/trunk/test/Assembler/2004-11-28-InvalidTypeCrash.ll Tue Dec 11 09:50:23 2007 @@ -1,5 +1,5 @@ ; Test for PR463. This program is erroneous, but should not crash llvm-as. -; RUN: ignore llvm-as < %s -o /dev/null -f |& \ +; RUN: not llvm-as < %s -o /dev/null -f |& \ ; RUN: grep {Cannot create a null initialized value of this type} @.FOO = internal global %struct.none zeroinitializer Modified: llvm/trunk/test/Assembler/2005-01-31-CallingAggregateFunction.ll URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Assembler/2005-01-31-CallingAggregateFunction.ll?rev=44866&r1=44865&r2=44866&view=diff ============================================================================== --- llvm/trunk/test/Assembler/2005-01-31-CallingAggregateFunction.ll (original) +++ llvm/trunk/test/Assembler/2005-01-31-CallingAggregateFunction.ll Tue Dec 11 09:50:23 2007 @@ -1,4 +1,4 @@ -; RUN: ignore llvm-as < %s -o /dev/null -f |& \ +; RUN: not llvm-as < %s -o /dev/null -f |& \ ; RUN: grep {LLVM functions cannot return aggregate types} define void @test() { Modified: llvm/trunk/test/CFrontend/2006-09-25-DebugFilename.c URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2006-09-25-DebugFilename.c?rev=44866&r1=44865&r2=44866&view=diff ============================================================================== --- llvm/trunk/test/CFrontend/2006-09-25-DebugFilename.c (original) +++ llvm/trunk/test/CFrontend/2006-09-25-DebugFilename.c Tue Dec 11 09:50:23 2007 @@ -1,4 +1,4 @@ -// RUN: ignore %llvmgcc -xc %s -S -o /dev/null |& \ +// RUN: not %llvmgcc -xc %s -S -o /dev/null |& \ // RUN: grep fluffy | grep 2006-09-25-DebugFilename.c #include "2006-09-25-DebugFilename.h" int func1() { return hfunc1(); } Modified: llvm/trunk/test/Feature/globalredefinition3.ll URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Feature/globalredefinition3.ll?rev=44866&r1=44865&r2=44866&view=diff ============================================================================== --- llvm/trunk/test/Feature/globalredefinition3.ll (original) +++ llvm/trunk/test/Feature/globalredefinition3.ll Tue Dec 11 09:50:23 2007 @@ -1,4 +1,4 @@ -; RUN: ignore llvm-as < %s -o /dev/null -f |& grep \ +; RUN: not llvm-as < %s -o /dev/null -f |& grep \ ; RUN: "Redefinition of global variable named 'B'" ; END. Modified: llvm/trunk/test/Linker/link-messages.ll URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/link-messages.ll?rev=44866&r1=44865&r2=44866&view=diff ============================================================================== --- llvm/trunk/test/Linker/link-messages.ll (original) +++ llvm/trunk/test/Linker/link-messages.ll Tue Dec 11 09:50:23 2007 @@ -2,7 +2,7 @@ ; that error is printed out. ; RUN: llvm-as %s -o %t.one.bc -f ; RUN: llvm-as %s -o %t.two.bc -f -; RUN: ignore llvm-ld -disable-opt -link-as-library %t.one.bc %t.two.bc \ +; RUN: not llvm-ld -disable-opt -link-as-library %t.one.bc %t.two.bc \ ; RUN: -o %t.bc 2>%t.err ; RUN: grep "Function is already defined" %t.err Modified: llvm/trunk/test/Linker/redefinition.ll URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/redefinition.ll?rev=44866&r1=44865&r2=44866&view=diff ============================================================================== --- llvm/trunk/test/Linker/redefinition.ll (original) +++ llvm/trunk/test/Linker/redefinition.ll Tue Dec 11 09:50:23 2007 @@ -3,8 +3,8 @@ ; RUN: llvm-as %s -o %t.foo1.bc -f ; RUN: llvm-as %s -o %t.foo2.bc -f ; RUN: echo {define void @foo(i32 %x) { ret void }} | llvm-as -o %t.foo3.bc -f -; RUN: ignore llvm-link %t.foo1.bc %t.foo2.bc -o %t.bc |& \ +; RUN: not llvm-link %t.foo1.bc %t.foo2.bc -o %t.bc |& \ ; RUN: grep {Function is already defined} -; RUN: ignore llvm-link %t.foo1.bc %t.foo3.bc -o %t.bc |& \ +; RUN: not llvm-link %t.foo1.bc %t.foo3.bc -o %t.bc |& \ ; RUN: grep {Function 'foo' defined as both} define void @foo() { ret void } Modified: llvm/trunk/test/Verifier/2006-10-15-AddrLabel.ll URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Verifier/2006-10-15-AddrLabel.ll?rev=44866&r1=44865&r2=44866&view=diff ============================================================================== --- llvm/trunk/test/Verifier/2006-10-15-AddrLabel.ll (original) +++ llvm/trunk/test/Verifier/2006-10-15-AddrLabel.ll Tue Dec 11 09:50:23 2007 @@ -1,4 +1,4 @@ -; RUN: ignore llvm-as < %s > /dev/null |& \ +; RUN: not llvm-as < %s > /dev/null |& \ ; RUN: grep {Cannot form a pointer to a basic block} define i32 @main() { _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits