Add number of missing files to major failures count
authordario.sestito@v800052.ad-sfpd.intra
Mon, 12 Apr 2010 13:53:36 +0100
changeset 962 a5e5d79cd09a
parent 961 94716c328941
child 963 daf51fe459d8
Add number of missing files to major failures count
common/tools/brag/uh2brag.pl
--- a/common/tools/brag/uh2brag.pl	Fri Apr 09 10:34:32 2010 +0100
+++ b/common/tools/brag/uh2brag.pl	Mon Apr 12 13:53:36 2010 +0100
@@ -43,10 +43,11 @@
 {
 	while (my $line = <INDEX>)
 	{
-		if ($line =~ m{<tr><td><a href='.*'>.*</a></td><td>(\d+)</td><td>(\d+)</td><td>(\d+)</td><td>(\d+)</td>})
+		if ($line =~ m{<tr><td><a href='.*'>.*</a></td><td>(\d+)</td><td>(\d+)</td><td>(\d+)</td><td>(\d+)</td>(<td>(\d+)</td>)?})
 		{
 			$criticals += $1 if ($1);
 			$majors += $2 if ($2);
+			$majors += $6 if ($6); # add number of missing files to majors
 			$minors += $3 if ($3);
 			$unknowns += $4 if ($4);
 		}