Added output stream to failures line in yarp. Made the failure string more robust
authorDario Sestito <darios@symbian.org>
Fri, 19 Jun 2009 10:10:05 +0100
changeset 205 863cc9c0bf03
parent 204 7912741ec3b3
child 206 62976b2583f7
Added output stream to failures line in yarp. Made the failure string more robust
common/tools/analysis/parse_yarp_files.pl
common/tools/analysis/yarp.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 ( <FILE> )
 	{
-		if ( m/^Failures:(\d+)$/ )
+		if ( m/^Raptor recipe failures:\s+(\d+)$/ )
 		{
 			#print "Attempt: $1 Errors: $2\n";
 			$nRecipeErrors = $1;
--- 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";