summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-12-11 15:50:23 +0000
committerDan Gohman <gohman@apple.com>2007-12-11 15:50:23 +0000
commitb5828675679c0d36b64be22de64c7c4ec0d3f2be (patch)
tree2af839904e4fd354497b871ff937bbfa93ae2220 /llvm/test
parentcfed707c12b0691086796a4d32b752559554d4b3 (diff)
downloadbcm5719-llvm-b5828675679c0d36b64be22de64c7c4ec0d3f2be.tar.gz
bcm5719-llvm-b5828675679c0d36b64be22de64c7c4ec0d3f2be.zip
Use not instead of ignore when an exit status is expected to always
be non-zero. llvm-svn: 44866
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Assembler/2004-11-28-InvalidTypeCrash.ll2
-rw-r--r--llvm/test/Assembler/2005-01-31-CallingAggregateFunction.ll2
-rw-r--r--llvm/test/CFrontend/2006-09-25-DebugFilename.c2
-rw-r--r--llvm/test/Feature/globalredefinition3.ll2
-rw-r--r--llvm/test/Linker/link-messages.ll2
-rw-r--r--llvm/test/Linker/redefinition.ll4
-rw-r--r--llvm/test/Verifier/2006-10-15-AddrLabel.ll2
7 files changed, 8 insertions, 8 deletions
diff --git a/llvm/test/Assembler/2004-11-28-InvalidTypeCrash.ll b/llvm/test/Assembler/2004-11-28-InvalidTypeCrash.ll
index 5b43b730621..4ae4765169e 100644
--- a/llvm/test/Assembler/2004-11-28-InvalidTypeCrash.ll
+++ b/llvm/test/Assembler/2004-11-28-InvalidTypeCrash.ll
@@ -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
diff --git a/llvm/test/Assembler/2005-01-31-CallingAggregateFunction.ll b/llvm/test/Assembler/2005-01-31-CallingAggregateFunction.ll
index 366bd7326d3..9fb805498cb 100644
--- a/llvm/test/Assembler/2005-01-31-CallingAggregateFunction.ll
+++ b/llvm/test/Assembler/2005-01-31-CallingAggregateFunction.ll
@@ -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() {
diff --git a/llvm/test/CFrontend/2006-09-25-DebugFilename.c b/llvm/test/CFrontend/2006-09-25-DebugFilename.c
index 2139c1ade56..eea52ba7608 100644
--- a/llvm/test/CFrontend/2006-09-25-DebugFilename.c
+++ b/llvm/test/CFrontend/2006-09-25-DebugFilename.c
@@ -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(); }
diff --git a/llvm/test/Feature/globalredefinition3.ll b/llvm/test/Feature/globalredefinition3.ll
index 9906c06dcfe..d40d3e9056c 100644
--- a/llvm/test/Feature/globalredefinition3.ll
+++ b/llvm/test/Feature/globalredefinition3.ll
@@ -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.
diff --git a/llvm/test/Linker/link-messages.ll b/llvm/test/Linker/link-messages.ll
index dae72400304..133caf7d907 100644
--- a/llvm/test/Linker/link-messages.ll
+++ b/llvm/test/Linker/link-messages.ll
@@ -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
diff --git a/llvm/test/Linker/redefinition.ll b/llvm/test/Linker/redefinition.ll
index bba60c572ae..7be93234455 100644
--- a/llvm/test/Linker/redefinition.ll
+++ b/llvm/test/Linker/redefinition.ll
@@ -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 }
diff --git a/llvm/test/Verifier/2006-10-15-AddrLabel.ll b/llvm/test/Verifier/2006-10-15-AddrLabel.ll
index 173b0cf9a71..e2c0e603c33 100644
--- a/llvm/test/Verifier/2006-10-15-AddrLabel.ll
+++ b/llvm/test/Verifier/2006-10-15-AddrLabel.ll
@@ -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() {
OpenPOWER on IntegriCloud