Rename missing_bld_inf_file category to cpp_exe_no_such_file_or_directory
authorDario Sestito <darios@symbian.org>
Fri, 09 Apr 2010 14:05:04 +0100
changeset 212 914d8060176c
parent 211 c01247054e72
child 213 0244765a8d6f
Rename missing_bld_inf_file category to cpp_exe_no_such_file_or_directory
uh_parser/RaptorError.pm
--- a/uh_parser/RaptorError.pm	Fri Apr 09 11:50:20 2010 +0100
+++ b/uh_parser/RaptorError.pm	Fri Apr 09 14:05:04 2010 +0100
@@ -50,7 +50,7 @@
 my $CATEGORY_RAPTORERROR_UNKNOWNBUILDCONFIG = 'unknown_build_config';
 my $CATEGORY_RAPTORERROR_NOBUILDCONFIGSGIVEN = 'no_build_configs_given';
 my $CATEGORY_RAPTORERROR_COULDNOTEXPORT = 'missing_source_file';
-my $CATEGORY_RAPTORERROR_MISSINGBLDINFFILE = 'missing_bld_inf_file';
+my $CATEGORY_RAPTORERROR_CPPEXENOSUCHFILEORDIRECTORY = 'cpp_exe_no_such_file_or_directory';
 my $CATEGORY_RAPTORERROR_FAILEDTOPARSEXMLFILE = 'failed_to_parse_xml_file';
 
 sub process
@@ -117,13 +117,13 @@
 		$subcategory = $CATEGORY_RAPTORERROR_COULDNOTEXPORT;
 		RaptorCommon::dump_fault($category, $subcategory, $severity, $logfile, $component, $mmp, $phase, $recipe, $file);
 	}
-	elsif ($text =~ m,win32/mingw/bin/cpp\.exe: .*bld\.inf:.*bld\.inf: No such file or directory,)
+	elsif ($text =~ m,win32/mingw/bin/cpp\.exe:.*:.*: No such file or directory,)
 	{
 		$severity = $RaptorCommon::SEVERITY_MAJOR;
-		$subcategory = $CATEGORY_RAPTORERROR_MISSINGBLDINFFILE;
+		$subcategory = $CATEGORY_RAPTORERROR_CPPEXENOSUCHFILEORDIRECTORY;
 		RaptorCommon::dump_fault($category, $subcategory, $severity, $logfile, $component, $mmp, $phase, $recipe, $file);
 	}
-	elsif ($text =~ m,^Preprocessor exception: ''Errors in .*bld\.inf'' : in command,)
+	elsif ($text =~ m,^Preprocessor exception: ''Errors in .*'' : in command,)
 	{
 		# don't dump
 		$dumped = 0;