--- a/uh_parser/RaptorError.pm Mon Apr 12 11:55:43 2010 +0100
+++ b/uh_parser/RaptorError.pm Mon Apr 12 13:26:38 2010 +0100
@@ -52,6 +52,7 @@
my $CATEGORY_RAPTORERROR_COULDNOTEXPORT = 'missing_source_file';
my $CATEGORY_RAPTORERROR_CPPEXENOSUCHFILEORDIRECTORY = 'cpp_exe_no_such_file_or_directory';
my $CATEGORY_RAPTORERROR_FAILEDTOPARSEXMLFILE = 'failed_to_parse_xml_file';
+my $CATEGORY_RAPTORERROR_VARIANTFILEDOESNOTEXIST = 'variant_file_does_not_exist';
sub process
{
@@ -111,6 +112,12 @@
$subcategory = $CATEGORY_RAPTORERROR_FAILEDTOPARSEXMLFILE;
RaptorCommon::dump_fault($category, $subcategory, $severity, $logfile, $component, $mmp, $phase, $recipe, $file);
}
+ elsif ($text =~ m,Variant file .* does not exist,)
+ {
+ $severity = $RaptorCommon::SEVERITY_CRITICAL;
+ $subcategory = $CATEGORY_RAPTORERROR_VARIANTFILEDOESNOTEXIST;
+ RaptorCommon::dump_fault($category, $subcategory, $severity, $logfile, $component, $mmp, $phase, $recipe, $file);
+ }
elsif ($text =~ m,Could not export .* to .* : \[Errno 2\] No such file or directory: .*,)
{
$severity = $RaptorCommon::SEVERITY_MAJOR;