Remove redundant category no_rule_to_make_target for Raptor unreciped text
authorDario Sestito <darios@symbian.org>
Mon, 12 Apr 2010 17:17:36 +0100
changeset 238 1040fbff0705
parent 236 8a3d46cfe8b5
child 239 d57b367400c0
Remove redundant category no_rule_to_make_target for Raptor unreciped text
uh_parser/RaptorUnreciped.pm
--- a/uh_parser/RaptorUnreciped.pm	Mon Apr 12 14:47:03 2010 +0100
+++ b/uh_parser/RaptorUnreciped.pm	Mon Apr 12 17:17:36 2010 +0100
@@ -42,7 +42,6 @@
 my $store_chars = 1;
 
 my $CATEGORY_RAPTORUNRECIPED = 'raptor_unreciped';
-my $CATEGORY_RAPTORUNRECIPED_NORULETOMAKETARGET = 'no_rule_to_make_target';
 my $CATEGORY_RAPTORUNRECIPED_IGNORINGOLDCOMMANDSFORTARGET = 'ignoring_old_commands_for_target';
 my $CATEGORY_RAPTORUNRECIPED_OVERRIDINGCOMMANDSFORTARGET = 'overriding_commands_for_target';
 my $CATEGORY_RAPTORUNRECIPED_MAKE_TARGETNOTREMADEBECAUSEOFERRORS = 'make_target_not_remade_because_of_errors';
@@ -59,13 +58,7 @@
 	my $severity = '';
 	my $subcategory = '';
 	
-	if ($text =~ m,make\.exe: \*\*\* No rule to make target,)
-	{
-		$severity = $RaptorCommon::SEVERITY_MAJOR;
-		my $subcategory = $CATEGORY_RAPTORUNRECIPED_NORULETOMAKETARGET;
-		RaptorCommon::dump_fault($category, $subcategory, $severity, $logfile, $component, $mmp, $phase, $recipe, $file);
-	}
-	elsif ($text =~ m,: warning: ignoring old commands for target,)
+	if ($text =~ m,: warning: ignoring old commands for target,)
 	{
 		# don't dump
 		$dumped = 0;
@@ -76,7 +69,7 @@
 		my $subcategory = $CATEGORY_RAPTORUNRECIPED_OVERRIDINGCOMMANDSFORTARGET;
 		RaptorCommon::dump_fault($category, $subcategory, $severity, $logfile, $component, $mmp, $phase, $recipe, $file);
 	}
-	elsif ($text =~ m,^make(\.exe)?: \*\*\* No rule to make target .*\ needed by .*,)
+	elsif ($text =~ m,^make(\.exe)?: \*\*\* No rule to make target .* needed by .*,)
 	{
 		$severity = $RaptorCommon::SEVERITY_MINOR;
 		my $subcategory = $CATEGORY_RAPTORUNRECIPED_MAKE_NORULETOMAKETARGETNEEDEDBY;