tune error parsers for mozilla data.

This commit is contained in:
kestes%walrus.com 2002-05-02 19:45:13 +00:00
parent ad3b8faf32
commit f60dc21b14

View File

@ -5,8 +5,8 @@
# errors and creating links into the source code where the errors
# occurred.
# $Revision: 1.10 $
# $Date: 2002/05/02 05:16:08 $
# $Revision: 1.11 $
# $Date: 2002/05/02 19:45:13 $
# $Author: kestes%walrus.com $
# $Source: /home/hwine/cvs_conversion/cvsroot/mozilla/webtools/tinderbox2/src/default_conf/Error_Parse.pm,v $
# $Name: $
@ -161,13 +161,37 @@ sub line_type {
if ($error) {
my $ignore = (
# These might be something worth looking at, but
# there are so many messages we might as well
# ignore them until the developers are willing to
# work on removing them.
# note that the word inline was followed by a
# quote mark which emacs thought was a bit funny
# so I removed it.
($line =~ m/warning: ANSI does not permit the keyword `inline/) ||
($line =~ m/warning: ISO C does not permit named variadic macros/) ||
($line =~ m/warning: operator new should throw an exception, not return NULL/) ||
($line =~ m/zip warning: .* not found or empty/) ||
($line =~ m/Status token, FAILED, not found/) ||
($line =~ m!WARNING: NS_ENSURE_TRUE(presShell) failed, file /builds/tinderbox/SeaMonkey/Linux_2.2.5-22smp_Clobber/mozilla/content/html/content/src/nsGenericHTMLElement.cpp, line 2967!) ||
# note that the word widget was followed by a
# quote mark which emacs thought was a bit funny
# so I removed it.
($line =~ m/does not intersect the widget.s view/) ||
# these are files which look like error messages
($line =~ m/-error-/) ||
($line =~ m/-failed\.gif/) ||
($line =~ m/-deprecated\.h/) ||
0);
if ($ignore) {