Add while_searching_for_deffile_file_not_found category for warning failures
authorDario Sestito <darios@symbian.org>
Thu, 04 Mar 2010 16:35:52 +0000
changeset 182 20288e22722e
parent 181 d7b846505d9e
child 183 38468523076d
Add while_searching_for_deffile_file_not_found category for warning failures
uh_parser/RaptorWarning.pm
--- a/uh_parser/RaptorWarning.pm	Thu Mar 04 16:30:31 2010 +0000
+++ b/uh_parser/RaptorWarning.pm	Thu Mar 04 16:35:52 2010 +0000
@@ -42,6 +42,7 @@
 
 my $CATEGORY_RAPTORWARNING = 'raptor_warning';
 my $CATEGORY_RAPTORWARNING_MISSINGFLAGABIV2 = 'missing_enable_abiv2_mode';
+my $CATEGORY_RAPTORWARNING_WHILESEARCHINGFORDEFFILEFILENOTFOUND = 'while_searching_for_deffile_file_not_found';
 
 sub process
 {
@@ -57,6 +58,12 @@
 		my $subcategory = $CATEGORY_RAPTORWARNING_MISSINGFLAGABIV2;
 		RaptorCommon::dump_fault($category, $subcategory, $severity, $logfile, $component, $mmp, $phase, $recipe, $file, $line);
 	}
+	elsif ($text =~ m,While Searching for a SPECIFIED DEFFILE: file not found: .*,)
+	{
+		$severity = $RaptorCommon::SEVERITY_MINOR;
+		my $subcategory = $CATEGORY_RAPTORWARNING_WHILESEARCHINGFORDEFFILEFILENOTFOUND;
+		RaptorCommon::dump_fault($category, $subcategory, $severity, $logfile, $component, $mmp, $phase, $recipe, $file, $line);
+	}
 	else # log everything by default
 	{
 		RaptorCommon::dump_fault($category, $subcategory, $severity, $logfile, $component, $mmp, $phase, $recipe, $file, $line);