common/tools/analysis/yarp.pl
changeset 207 6d9dd19b6949
parent 205 863cc9c0bf03
child 284 e5f3b53baae0
--- a/common/tools/analysis/yarp.pl	Fri Jun 19 16:13:48 2009 +0100
+++ b/common/tools/analysis/yarp.pl	Fri Jun 19 18:00:57 2009 +0100
@@ -68,6 +68,7 @@
     my %licenceattempts;
     my $counter = 0;
     my $licence = 0;
+    my $failures = 0;
     while( my $line = <FILE>)
     {
       ++$counter;
@@ -84,6 +85,7 @@
 #          if($recipe->{'exit'} !~ m/ok/)
           if($recipe->{'exit'} =~ m/failed/)
           {
+	          ++$failures;
 #            if($recipe->{'target'} =~ m/\S:epoc32\//i) 
 #               && $recipe->{'target'} !~ m/\S:epoc32\/build/i)
             {
@@ -131,6 +133,9 @@
     }
   close FILE;
   print OUT "\n\nSummaries\n\n";
+  
+  print OUT "Raptor recipe failures: $failures\n";
+  
   foreach my $attempt (sort keys %attempts)
   {
     print OUT "Overall attempts: $attempt,".$attempts{$attempt}.",\n";