Use -disable-output and to suppress output and don't use a temporary file unless we need one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188843 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling
2013-08-20 23:00:25 +00:00
parent 3531db14c6
commit 815af99a04
5 changed files with 5 additions and 7 deletions

View File

@ -1,4 +1,4 @@
; RUN: opt < %s -constprop | llvm-dis ; RUN: opt < %s -constprop | llvm-dis -disable-output
; PR3465 ; PR3465
define double @test() { define double @test() {

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llvm-dis -o /dev/null ; RUN: llvm-as < %s | llvm-dis -disable-output
%0 = type { %object.ModuleInfo.__vtbl*, i8*, %"byte[]", %1, %"ClassInfo[]", i32, void ()*, void ()*, void ()*, i8*, void ()* } ; type %0 %0 = type { %object.ModuleInfo.__vtbl*, i8*, %"byte[]", %1, %"ClassInfo[]", i32, void ()*, void ()*, void ()*, i8*, void ()* } ; type %0
%1 = type { i64, %object.ModuleInfo* } ; type %1 %1 = type { i64, %object.ModuleInfo* } ; type %1
%2 = type { i32, void ()* } ; type %2 %2 = type { i32, void ()* } ; type %2

View File

@ -1,6 +1,5 @@
; RUN: llvm-as < %s | llvm-dis -o /dev/null ; RUN: llvm-as < %s | llvm-dis -disable-output
!llvm.foo = !{!0} !llvm.foo = !{!0}
!0 = metadata !{i32 42} !0 = metadata !{i32 42}
@my.str = internal constant [4 x i8] c"foo\00" @my.str = internal constant [4 x i8] c"foo\00"

View File

@ -1,5 +1,4 @@
; RUN: not llvm-dis < %s.bc > /dev/null 2> %t ; RUN: not llvm-dis < %s.bc 2>&1 | FileCheck %s
; RUN: FileCheck %s < %t
; PR8494 ; PR8494
; CHECK: Invalid MODULE_CODE_FUNCTION record ; CHECK: Invalid MODULE_CODE_FUNCTION record

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llvm-dis ; RUN: llvm-as < %s | llvm-dis -disable-output
; <rdar://problem/8622574> ; <rdar://problem/8622574>
; tests the bitcodereader can handle the case where the reader will initially ; tests the bitcodereader can handle the case where the reader will initially