From d5ea0d19fae57dc1c54b4429def2bb35cd94414f Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Wed, 18 Mar 2009 03:30:40 -0400 Subject: [PATCH] Fix logging of STDERR in tinderbox tests phase --- tools/tinderbox_build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/tinderbox_build b/tools/tinderbox_build index 04c691e..12528d9 100755 --- a/tools/tinderbox_build +++ b/tools/tinderbox_build @@ -246,7 +246,7 @@ sub SetupPath { sub configure { # Configure - print LOG "./configure --enable-extra-opts --enable-libtap $ConfigureArgs\n"; + print LOG "./configure --enable-extra-opts --enable-libtap $ConfigureArgs 2>&1\n"; open (CONFIGURE, "./configure --enable-extra-opts --enable-libtap $ConfigureArgs 2>&1 |") || die "../configure: $!\n"; while () { print $_; @@ -270,8 +270,8 @@ sub make { sub maketest { # Tests - print LOG "LANG=C make test 2>&1\n"; - open( MAKE, "LANG=C make test && make install DESTDIR=$TmpDir/tinderbox_build.$$ && make install-strip DESTDIR=$TmpDir/tinderbox_build2.$$ 2>&1 |"); + print LOG "LANG=C make test 2>&1 && make install DESTDIR=$TmpDir/tinderbox_build.$$ 2>&1 && make install-strip DESTDIR=$TmpDir/tinderbox_build2.$$ 2>&1\n"; + open( MAKE, "LANG=C make test 2>&1 && make install DESTDIR=$TmpDir/tinderbox_build.$$ 2>&1 && make install-strip DESTDIR=$TmpDir/tinderbox_build2.$$ 2>&1 |"); while ( ) { print $_; print LOG $_; -- 2.30.2