# HG changeset patch # User Dario Sestito # Date 1245402605 -3600 # Node ID 863cc9c0bf03277d60a965e66543b81072714db3 # Parent 7912741ec3b30e024477b14bc241f11161f5bfdf Added output stream to failures line in yarp. Made the failure string more robust diff -r 7912741ec3b3 -r 863cc9c0bf03 common/tools/analysis/parse_yarp_files.pl --- a/common/tools/analysis/parse_yarp_files.pl Thu Jun 18 18:38:31 2009 +0100 +++ b/common/tools/analysis/parse_yarp_files.pl Fri Jun 19 10:10:05 2009 +0100 @@ -23,7 +23,7 @@ open(FILE, $nYarpFile); while ( ) { - if ( m/^Failures:(\d+)$/ ) + if ( m/^Raptor recipe failures:\s+(\d+)$/ ) { #print "Attempt: $1 Errors: $2\n"; $nRecipeErrors = $1; diff -r 7912741ec3b3 -r 863cc9c0bf03 common/tools/analysis/yarp.pl --- a/common/tools/analysis/yarp.pl Thu Jun 18 18:38:31 2009 +0100 +++ b/common/tools/analysis/yarp.pl Fri Jun 19 10:10:05 2009 +0100 @@ -134,7 +134,8 @@ close FILE; print OUT "\n\nSummaries\n\n"; - print "Failures:$failures\n"; + print OUT "Raptor recipe failures: $failures\n"; + foreach my $attempt (sort keys %attempts) { print OUT "Overall attempts: $attempt,".$attempts{$attempt}.",\n";