Use -disable-output and to suppress output and don't use a temporary file unless...
authorBill Wendling <isanbard@gmail.com>
Tue, 20 Aug 2013 23:00:25 +0000 (23:00 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 20 Aug 2013 23:00:25 +0000 (23:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188843 91177308-0d34-0410-b5e6-96231b3b80d8

test/Bitcode/extractelement.ll
test/Bitcode/metadata-2.ll
test/Bitcode/metadata.ll
test/Bitcode/null-type.ll
test/Bitcode/shuffle.ll

index d88f811e8e9cc0fbf9114c74db4e6ab27d1a6a42..8999c656fce99ecc333e09dee41781f88520cf61 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -constprop | llvm-dis
+; RUN: opt < %s -constprop | llvm-dis -disable-output
 ; PR3465
 
 define double @test() {
index dbf46b06e1980d03237578a1222744bbd1b153a7..4055f921c330d1b891434168d2b7dd5e31976bb2 100644 (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
        %1 = type { i64, %object.ModuleInfo* }          ; type %1
        %2 = type { i32, void ()* }             ; type %2
index 19db3eac21602df1e39159228c7d6917c7083b35..fc8a622252bfbcecd89342271ce037f1f270e435 100644 (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}
 !0 = metadata !{i32 42}
 @my.str = internal constant [4 x i8] c"foo\00"
-
index 8502b0d55a338574b9642695b0a0bf198b41317d..d01488c42638a0bcc2cdde314e82cb775771b489 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: not llvm-dis < %s.bc > /dev/null 2> %t
-; RUN: FileCheck %s < %t
+; RUN: not llvm-dis < %s.bc 2>&1 | FileCheck %s
 ; PR8494
 
 ; CHECK: Invalid MODULE_CODE_FUNCTION record
index c3c01c6692c4025d42b4faa992c815d6846619ba..1495d8eebf9c64ef8027eae84d37381570cae1e5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llvm-dis
+; RUN: llvm-as < %s | llvm-dis -disable-output
 
 ; <rdar://problem/8622574>
 ; tests the bitcodereader can handle the case where the reader will initially