# HG changeset patch # User Dario Sestito # Date 1275057713 -3600 # Node ID 06db82e8efc6db1a05218290f34b905bad2b15fa # Parent b20b2eae00e92ec73adb20a0dbf2bba1dfab700d Raised to critical the categories: armcc_cannot_open_source_input_file, mwccsym2_file_cannot_be_opened, cpp_exe_no_such_file_or_directory diff -r b20b2eae00e9 -r 06db82e8efc6 uh_parser/RaptorError.pm --- a/uh_parser/RaptorError.pm Thu May 27 14:19:36 2010 +0100 +++ b/uh_parser/RaptorError.pm Fri May 28 15:41:53 2010 +0100 @@ -127,7 +127,7 @@ } elsif ($text =~ m,win32/mingw/bin/cpp\.exe:.*:.*: No such file or directory,) { - $severity = $RaptorCommon::SEVERITY_MAJOR; + $severity = $RaptorCommon::SEVERITY_CRITICAL; $subcategory = $CATEGORY_RAPTORERROR_CPPEXENOSUCHFILEORDIRECTORY; RaptorCommon::dump_fault($category, $subcategory, $severity, $logfile, $component, $mmp, $phase, $recipe, $file); } diff -r b20b2eae00e9 -r 06db82e8efc6 uh_parser/RaptorRecipe.pm --- 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: '.*',)