]> granicus.if.org Git - curl/commitdiff
testcurl.pl: third party m4 warnings filtering adjustment
authorYang Tse <yangsita@gmail.com>
Mon, 26 Dec 2011 16:01:04 +0000 (17:01 +0100)
committerYang Tse <yangsita@gmail.com>
Mon, 26 Dec 2011 16:01:04 +0000 (17:01 +0100)
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

tests/testcurl.pl

index b6486ac2f481a864cc9afb062e194a19e02c790a..57af992632d92a5b337962430063f42e5b0b93f9 100755 (executable)
@@ -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;
     }