Yarp file parser to get number of failures from the correct field
authorDario Sestito <darios@symbian.org>
Thu, 18 Jun 2009 18:38:31 +0100
changeset 204 7912741ec3b3
parent 203 011f16c9778b
child 205 863cc9c0bf03
Yarp file parser to get number of failures from the correct field
common/tools/analysis/parse_yarp_files.pl
--- a/common/tools/analysis/parse_yarp_files.pl	Thu Jun 18 18:36:41 2009 +0100
+++ b/common/tools/analysis/parse_yarp_files.pl	Thu Jun 18 18:38:31 2009 +0100
@@ -23,10 +23,10 @@
 	open(FILE, $nYarpFile);
 	while ( <FILE> )
 	{
-		if ( m/Overall attempts:\s*(\d+),(\d+)/ )
+		if ( m/^Failures:(\d+)$/ )
 		{
 			#print "Attempt: $1 Errors: $2\n";
-			$nRecipeErrors = $2;
+			$nRecipeErrors = $1;
 		}
 	}
 	close(FILE);