Use not instead of ignore when an exit status is expected to always
authorDan Gohman <gohman@apple.com>
Tue, 11 Dec 2007 15:50:23 +0000 (15:50 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 11 Dec 2007 15:50:23 +0000 (15:50 +0000)
be non-zero.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44866 91177308-0d34-0410-b5e6-96231b3b80d8

test/Assembler/2004-11-28-InvalidTypeCrash.ll
test/Assembler/2005-01-31-CallingAggregateFunction.ll
test/CFrontend/2006-09-25-DebugFilename.c
test/Feature/globalredefinition3.ll
test/Linker/link-messages.ll
test/Linker/redefinition.ll
test/Verifier/2006-10-15-AddrLabel.ll

index 5b43b73062193d7dcc972b8af7084055807471e5..4ae4765169e4145243e1dce896558f4ae5875a64 100644 (file)
@@ -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
index 366bd7326d310739ebf840f95f37d084919fce7f..9fb805498cbb76f1ab91098ae74f44791c6c4c60 100644 (file)
@@ -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() {
index 2139c1ade56466ec509fd9b71013e187901bb684..eea52ba7608c7024def6fc94235972c3e2128fea 100644 (file)
@@ -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(); }
index 9906c06dcfe248e2f80ea8ebea5549a3cc14cbff..d40d3e9056c9370cbb07d5e89ffbb31912b51618 100644 (file)
@@ -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.
 
index dae7240030424c989c933376291ad60cda61b15e..133caf7d9071f8bb5eb093e16873a3dab207e157 100644 (file)
@@ -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
 
index bba60c572aed651cc0837548adce2e36b6e733a3..7be93234455d712ca1cf2e57389a32a9b42c5c30 100644 (file)
@@ -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 }
index 173b0cf9a7116a412fadf7b2116d79e419e5a872..e2c0e603c33ad8bce880e342d3abe372acbdeca0 100644 (file)
@@ -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() {