Help DejaGnu avoid pipe-jam by producing less output from certain test cases.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 16 May 2009 00:34:42 +0000 (00:34 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 16 May 2009 00:34:42 +0000 (00:34 +0000)
When a test fails with more than a pipeful of output on stdout AND stderr, one
of the DejaGnu programs blocks. The problem can be avoided by redirecting
stdout to a file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71919 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/Generic/APIntLoadStore.ll
test/CodeGen/Generic/APIntParam.ll
test/CodeGen/Generic/APIntSextParam.ll
test/CodeGen/Generic/APIntZextParam.ll
test/CodeGen/PowerPC/vector.ll
test/CodeGen/X86/2008-10-02-Atomics32-2.ll
test/CodeGen/X86/Atomics-32.ll
test/CodeGen/X86/Atomics-64.ll
test/CodeGen/X86/vector.ll

index bee7c63298083e044c41b7abade56d37f4eff3ec..57ddae2c1b0260849d008a65737132f015b4d12c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc
+; RUN: llvm-as < %s | llc > %t
 @i1_l = external global i1             ; <i1*> [#uses=1]
 @i1_s = external global i1             ; <i1*> [#uses=1]
 @i2_l = external global i2             ; <i2*> [#uses=1]
index c1a3a449bcc93a4a31f0537750935128f64fc79e..f80f71b176184d879340751044924130b7621654 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc
+; RUN: llvm-as < %s | llc > %t
 @i1_s = external global i1             ; <i1*> [#uses=1]
 @i2_s = external global i2             ; <i2*> [#uses=1]
 @i3_s = external global i3             ; <i3*> [#uses=1]
index c5927fcf732df17542841d59a314d0aa94ed43c8..9fb06cb1bfb1d95b4e40fae89cd300bdeaa75a86 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc
+; RUN: llvm-as < %s | llc > %t
 @i1_s = external global i1             ; <i1*> [#uses=1]
 @i2_s = external global i2             ; <i2*> [#uses=1]
 @i3_s = external global i3             ; <i3*> [#uses=1]
index 71d327063b066b4a7f39293dc46f63650dee716b..ea7743ecd086c8b0a5cdf1373ab8d24f12b1fe0c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc
+; RUN: llvm-as < %s | llc > %t
 @i1_s = external global i1             ; <i1*> [#uses=1]
 @i2_s = external global i2             ; <i2*> [#uses=1]
 @i3_s = external global i3             ; <i3*> [#uses=1]
index f121306cb818cca642d3988335645bf01714a663..679e69effa3bd272771e0a5cd308a234e27bd357 100644 (file)
@@ -1,6 +1,6 @@
 ; Test that vectors are scalarized/lowered correctly.
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g3
+; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 > %t
+; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g3 > %t
 
 %d8 = type <8 x double>
 %f1 = type <1 x float>
index 3cf9deea6e492c4eba2d14edc093803ccd708123..e74280cd3a1781750df1c4bf2f144c7d07276501 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86
+; RUN: llvm-as < %s | llc -march=x86 > %t
 ;; This version includes 64-bit version of binary operators (in 32-bit mode).
 ;; Swap, cmp-and-swap not supported yet in this mode.
 ; ModuleID = 'Atomics.c'
index 66db810cce50c24f72a025bd5c485644dc274cd5..2a3e2285800fbaa847562a9bf58ecd0478f21c4e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86
+; RUN: llvm-as < %s | llc -march=x86 > %t
 ;; Note the 64-bit variants are not supported yet (in 32-bit mode).
 ; ModuleID = 'Atomics.c'
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
index d6e3c651cb2d1ed76bd8e3680ae26c0f3b81b5e0..37b2e338eff608fbd00d4ec1c2fad1daa9d603b2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86-64
+; RUN: llvm-as < %s | llc -march=x86-64 > %t
 ; ModuleID = 'Atomics.c'
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-apple-darwin8"
index ab56c8ac5fc9d04eccc76c3391b8509b92523c2b..e7f3b922013c3b3eda6338f26d5543751c46bdbc 100644 (file)
@@ -1,6 +1,6 @@
 ; Test that vectors are scalarized/lowered correctly.
-; RUN: llvm-as < %s | llc -march=x86 -mcpu=i386
-; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah
+; RUN: llvm-as < %s | llc -march=x86 -mcpu=i386 > %t
+; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah > %t
 
 %d8 = type <8 x double>
 %f1 = type <1 x float>