uh_parser/RaptorRecipe.pm
changeset 272 06db82e8efc6
parent 269 0a0ad5daa2f9
child 293 a02973783e64
--- a/uh_parser/RaptorRecipe.pm	Thu May 27 14:19:36 2010 +0100
+++ b/uh_parser/RaptorRecipe.pm	Fri May 28 15:41:53 2010 +0100
@@ -101,6 +101,9 @@
 	if ($text =~ m,Error:  #5: cannot open source input file .*: No such file or directory,)
 	{
 		my $subcategory = $CATEGORY_RECIPEFAILURE_ARMCC_CANNOTOPENSOURCEINPUTFILE;
+		# set severity as critical,
+		# but leave alone failures which are minor (for the chronological rule)  
+		$severity = $RaptorCommon::SEVERITY_CRITICAL if ($severity eq $RaptorCommon::SEVERITY_MAJOR);
 		RaptorCommon::dump_fault($category, $subcategory, $severity, $config, $component, $mmp, $phase, $recipe, $file);
 	}
 	elsif ($text =~ m,Fatal error: L6002U: Could not open file .*: No such file or directory,)
@@ -168,6 +171,9 @@
 	elsif ($text =~ m,mwccsym2.exe , and $text =~ m,: the file '.*' cannot be opened,)
 	{
 		my $subcategory = $CATEGORY_RECIPEFAILURE_MWCCSYM2_FILECANNOTBEOPENED;
+		# set severity as critical,
+		# but leave alone failures which are minor (for the chronological rule)  
+		$severity = $RaptorCommon::SEVERITY_CRITICAL if ($severity eq $RaptorCommon::SEVERITY_MAJOR);
 		RaptorCommon::dump_fault($category, $subcategory, $severity, $config, $component, $mmp, $phase, $recipe, $file);
 	}
 	elsif ($text =~ m,mwldsym2\.exe: Undefined symbol: '.*',)