common/tools/analysis/parse_yarp_files.pl
changeset 205 863cc9c0bf03
parent 204 7912741ec3b3
child 206 62976b2583f7
equal deleted inserted replaced
204:7912741ec3b3 205:863cc9c0bf03
    21 	my $nRecipeErrors = 0;
    21 	my $nRecipeErrors = 0;
    22 #	print "Parsing file $nYarpFile...\n";
    22 #	print "Parsing file $nYarpFile...\n";
    23 	open(FILE, $nYarpFile);
    23 	open(FILE, $nYarpFile);
    24 	while ( <FILE> )
    24 	while ( <FILE> )
    25 	{
    25 	{
    26 		if ( m/^Failures:(\d+)$/ )
    26 		if ( m/^Raptor recipe failures:\s+(\d+)$/ )
    27 		{
    27 		{
    28 			#print "Attempt: $1 Errors: $2\n";
    28 			#print "Attempt: $1 Errors: $2\n";
    29 			$nRecipeErrors = $1;
    29 			$nRecipeErrors = $1;
    30 		}
    30 		}
    31 	}
    31 	}