OSDN Git Service

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 bee7c63..57ddae2 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 c1a3a44..f80f71b 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 c5927fc..9fb06cb 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 71d3270..ea7743e 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 f121306..679e69e 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 3cf9dee..e74280c 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 66db810..2a3e228 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 d6e3c65..37b2e33 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 ab56c8a..e7f3b92 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>