Fixed format checking of summary file so that it actually checks something!
authorSimon Howkins <simonh@symbian.org>
Fri, 04 Dec 2009 14:19:38 +0000
changeset 807 194ddb729c09
parent 806 d6151ad46381
child 808 8f386eeff5ad
Fixed format checking of summary file so that it actually checks something!
common/tools/brag/raptorToBRAG.pl
--- a/common/tools/brag/raptorToBRAG.pl	Fri Dec 04 11:00:13 2009 +0000
+++ b/common/tools/brag/raptorToBRAG.pl	Fri Dec 04 14:19:38 2009 +0000
@@ -61,7 +61,7 @@
 	
 	my @keys = qw{category subcategory severity config component phase recipe file linenum};
 	my @values = $csv->fields();
-	unless (scalar @keys == scalar @keys)
+	unless (scalar @values == scalar @keys)
 	{
 		warn "WARNING: line does not match expected format at $raptorSummary line $.. Skipping\n";
 		next;