From: mquinson Date: Wed, 21 May 2008 15:00:43 +0000 (+0000) Subject: also capture the output of the tests (which all write to stderr) X-Git-Tag: v3.3~450 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d5ee9e974615a1c7f82bf9f86c5c71e00b8e61f4 also capture the output of the tests (which all write to stderr) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5486 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/checkall b/checkall index 80415cacaf..4512f3e325 100755 --- a/checkall +++ b/checkall @@ -15,7 +15,7 @@ open LOG,(">checkall.log") || die "Cannot open log file: $!"; my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); print LOG "Build started on $hour:$min:$sec $mon/$mday/$year\n\n"; -open MAKE,("make |") || die "Cannot fork a make: $!"; +open MAKE,("make 2>&1 |") || die "Cannot fork a make: $!"; while () { print $_; print LOG $_; @@ -30,7 +30,7 @@ if (!close MAKE) { exit 1; } -open CHECK,("make -k check|") || die "Cannot fork a make check: $!"; +open CHECK,("make -k check 2>&1 |") || die "Cannot fork a make check: $!"; while () { print $_; print LOG $_;