mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
Make shell redirection construct portable
Summary: NetBSD shell sh(1) does not support ">& /dev/null" construct. This is bashism. The portable and POSIX solution is to use: "> /dev/null 2>&1". This change fixes 22 Unexpected Failures on NetBSD/amd64 for the "check-llvm" target. Sponsored by <The NetBSD Foundation> Reviewers: joerg, dim, rnk Reviewed By: joerg, rnk Subscribers: rnk, davide, llvm-commits Differential Revision: https://reviews.llvm.org/D35277 llvm-svn: 307789
This commit is contained in:
parent
b8e8932e7b
commit
a973e7a418
@ -1,4 +1,4 @@
|
||||
; RUN: opt -basicaa -aa-eval -disable-output < %s >& /dev/null
|
||||
; RUN: opt -basicaa -aa-eval -disable-output < %s > /dev/null 2>&1
|
||||
|
||||
; BasicAA shouldn't infinitely recurse on the use-def cycles in
|
||||
; unreachable code.
|
||||
|
@ -1,8 +1,7 @@
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; RUN: not llvm-as < %s > /dev/null 2>&1
|
||||
|
||||
void %test() {
|
||||
%X = add int 0, 1
|
||||
%X = add int 1, 2
|
||||
ret void
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; RUN: not llvm-as < %s > /dev/null 2>&1
|
||||
|
||||
declare i32 @atoi(i8*) nounwind readonly
|
||||
declare i32 @atoi(i8*)
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; RUN: not llvm-as < %s > /dev/null 2>&1
|
||||
|
||||
%list = type { i32, %list* }
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; RUN: not llvm-as < %s > /dev/null 2>&1
|
||||
|
||||
%list = type { i32, %list* }
|
||||
%meta = type opaque
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; RUN: not llvm-as < %s > /dev/null 2>&1
|
||||
|
||||
%list = type { i32, %list* }
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; RUN: not llvm-as < %s > /dev/null 2>&1
|
||||
|
||||
declare void @llvm.gcroot(i8**, i8*) nounwind
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; RUN: not llvm-as < %s > /dev/null 2>&1
|
||||
|
||||
declare void @llvm.gcroot(i8**, i8*)
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
; Call graph construction crash: Not handling indirect calls right
|
||||
;
|
||||
; RUN: opt < %s -analyze -print-callgraph >& /dev/null
|
||||
; RUN: opt < %s -analyze -print-callgraph > /dev/null 2>&1
|
||||
;
|
||||
|
||||
%FunTy = type i32 (i32)
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: not llvm-tblgen < %s >& /dev/null
|
||||
// RUN: not llvm-tblgen < %s > /dev/null 2>&1
|
||||
|
||||
def x;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; RUN: not llvm-as < %s > /dev/null 2>&1
|
||||
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; RUN: not llvm-as < %s > /dev/null 2>&1
|
||||
|
||||
declare void @foo(i8*)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; RUN: not llvm-as < %s > /dev/null 2>&1
|
||||
|
||||
%struct = type { }
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; RUN: not llvm-as < %s > /dev/null 2>&1
|
||||
|
||||
declare i32 @v()
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; RUN: not llvm-as < %s > /dev/null 2>&1
|
||||
|
||||
declare i32 @v()
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; RUN: not llvm-as < %s > /dev/null 2>&1
|
||||
|
||||
declare i32 @v()
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; RUN: not llvm-as < %s > /dev/null 2>&1
|
||||
declare void @h(i32 byval %num)
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; RUN: not llvm-as < %s > /dev/null 2>&1
|
||||
; PR1633
|
||||
|
||||
%meta = type { i8* }
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; RUN: not llvm-as < %s > /dev/null 2>&1
|
||||
; PR1633
|
||||
|
||||
%meta = type { i8* }
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; RUN: not llvm-as < %s > /dev/null 2>&1
|
||||
; PR1633
|
||||
|
||||
%meta = type { i8* }
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; RUN: not llvm-as < %s > /dev/null 2>&1
|
||||
; PR1633
|
||||
|
||||
%meta = type { i8* }
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llvm-as < %s >& /dev/null
|
||||
; RUN: not llvm-as < %s > /dev/null 2>&1
|
||||
; PR1633
|
||||
|
||||
%meta = type { i8* }
|
||||
|
Loading…
Reference in New Issue
Block a user