Yarp to print failures
authorDario Sestito <darios@symbian.org>
Thu, 18 Jun 2009 18:36:41 +0100
changeset 203 011f16c9778b
parent 202 66da43a8fbf8
child 204 7912741ec3b3
Yarp to print failures
common/tools/analysis/yarp.pl
--- a/common/tools/analysis/yarp.pl	Thu Jun 18 16:04:46 2009 +0100
+++ b/common/tools/analysis/yarp.pl	Thu Jun 18 18:36:41 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,8 @@
     }
   close FILE;
   print OUT "\n\nSummaries\n\n";
+  
+  print "Failures:$failures\n";
   foreach my $attempt (sort keys %attempts)
   {
     print OUT "Overall attempts: $attempt,".$attempts{$attempt}.",\n";