testcurl.pl: third party m4 warnings filtering adjustment

Make testcurl.pl ignore messages pertaining to third party m4 files we don't
care nor use on a file basis policy while retaining all other warnings.

This closes temporary commit e71e226f
This commit is contained in:
Yang Tse 2011-12-26 17:01:04 +01:00
parent 9f7f6a62ff
commit 82c344a347
1 changed files with 3 additions and 2 deletions

View File

@ -431,12 +431,13 @@ if ($git) {
unlink "autom4te.cache";
# generate the build files
# logit "invoke buildconf, but filter off aclocal underquoted definition warnings";
logit "invoke buildconf";
open(F, "./buildconf 2>&1 |") or die;
open(LOG, ">$buildlog") or die;
while (<F>) {
# next if /warning: underquoted definition of/;
# ignore messages pertaining to third party m4 files we don't care
next if /aclocal\/gtk.m4/;
next if /aclocal\/gtkextra.m4/;
print;
print LOG;
}