mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-15 22:00:06 -04:00
Fix logging of STDERR in tinderbox tests phase
This commit is contained in:
parent
d41a33a434
commit
d5ea0d19fa
1 changed files with 3 additions and 3 deletions
|
|
@ -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 $_;
|
||||
|
|
|
|||
Loading…
Reference in a new issue