mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-02 07:41:38 +00:00
Use not instead of ignore when an exit status is expected to always
be non-zero. llvm-svn: 44866
This commit is contained in:
parent
7be70b555b
commit
7867eefd96
@ -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
|
||||
|
@ -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() {
|
||||
|
@ -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(); }
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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 }
|
||||
|
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user