1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

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

View File

@ -431,12 +431,13 @@ if ($git) {
unlink "autom4te.cache"; unlink "autom4te.cache";
# generate the build files # generate the build files
# logit "invoke buildconf, but filter off aclocal underquoted definition warnings";
logit "invoke buildconf"; logit "invoke buildconf";
open(F, "./buildconf 2>&1 |") or die; open(F, "./buildconf 2>&1 |") or die;
open(LOG, ">$buildlog") or die; open(LOG, ">$buildlog") or die;
while (<F>) { 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;
print LOG; print LOG;
} }