mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
For all RUN lines starting with "not", redirect stderr to /dev/null so tests
don't fail when (expected) error output is produced. This fixes 17 tests. While I was there, I also made all RUN lines of the form "not llvm-as..." a bit more consistent, they now all redirect stderr and stdout to /dev/null and use input redirect to read their input. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52174 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f167bc2922
commit
1cd8f11cc0
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s > /dev/null
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
|
||||
void %test() {
|
||||
%X = add int 0, 1
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
|
||||
declare i32 @atoi(i8*) nounwind readonly
|
||||
declare i32 @atoi(i8*)
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
|
||||
%list = type { i32, %list* }
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
|
||||
%list = type { i32, %list* }
|
||||
%meta = type opaque
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
|
||||
%list = type { i32, %list* }
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
|
||||
declare void @llvm.gcroot(i8**, i8*)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: not tblgen %s
|
||||
// RUN: not tblgen %s 2> /dev/null
|
||||
|
||||
def {
|
||||
bits<2> X = 5; // bitfield is too small, reject
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: not tblgen < %s
|
||||
// RUN: not tblgen < %s >& /dev/null
|
||||
|
||||
def x;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as -f %s -o /dev/null
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
|
||||
declare void @foo(i8*)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as %s -o /dev/null
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
|
||||
%struct = type { }
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
; RUN: not llvm-as %s -o /dev/null -f
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
declare void @h(i32 byval %num)
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; PR1633
|
||||
|
||||
%meta = type { i8* }
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; PR1633
|
||||
|
||||
%meta = type { i8* }
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; PR1633
|
||||
|
||||
%meta = type { i8* }
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; PR1633
|
||||
|
||||
%meta = type { i8* }
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; PR1633
|
||||
|
||||
%meta = type { i8* }
|
||||
|
Loading…
Reference in New Issue
Block a user