diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2009-03-18 03:30:40 -0400 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2009-03-18 03:34:39 -0400 |
commit | d5ea0d19fae57dc1c54b4429def2bb35cd94414f (patch) | |
tree | 00219174f36c29a1a00bf18ec3adb94f87716a28 /tools | |
parent | d41a33a434558189300113c28b26e2d3d681d390 (diff) | |
download | monitoring-plugins-d5ea0d19fae57dc1c54b4429def2bb35cd94414f.tar.gz |
Fix logging of STDERR in tinderbox tests phase
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/tinderbox_build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/tinderbox_build b/tools/tinderbox_build index 04c691e2..12528d9b 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 (<CONFIGURE>) { 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 ( <MAKE> ) { print $_; print LOG $_; |