[gimp-perl] ignore GEGL warnings in t/02-netplugin.t



commit 66417cdb72c3fb2fe78a6dfcfa5c70ac144916ce
Author: Ed J <mohawk2 users noreply github com>
Date:   Thu Sep 9 15:19:29 2021 +0100

    ignore GEGL warnings in t/02-netplugin.t

 Changes          | 2 ++
 t/02-netplugin.t | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/Changes b/Changes
index e9b10dd2..b987b8b9 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,5 @@
+- ignore GEGL-WARNING too
+
 2.34 2021-04-17
 - updated constants to GIMP 2.10 versions
 - remove menu path up to last / and call gimp_plugin_menu_register with that
diff --git a/t/02-netplugin.t b/t/02-netplugin.t
index fe473924..2c1d7396 100644
--- a/t/02-netplugin.t
+++ b/t/02-netplugin.t
@@ -6,7 +6,7 @@ my $LIKE_RX;
 BEGIN {
 #  $Gimp::verbose = 3;
   @PLUGINS = qw(dots glowing_steel map_to_gradient redeye);
-  $LIKE_RX = qr/^(Xlib:\s*extension "RANDR" missing.*|)$/m;
+  $LIKE_RX = qr/^(Xlib:\s*extension "RANDR" missing.*|.*(GEGL-WARNING|GeglBuffers leaked).*|)$/m;
   $DEBUG = 0;
   require './t/gimpsetup.pl';
   # most minimal and elegant would be to symlink sandbox gimp-dir's
@@ -70,7 +70,7 @@ for my $test (@testbench) {
     }
   }
   like(join('', @errlines), $LIKE_RX, "$name stderr not of concern");
-  is(join('', @outlines), '', "$name stdout empty");
+  like(join('', @outlines), $LIKE_RX, "$name stdout not of concern");
   waitpid($pid, 0);
   is($? >> 8, 0, "$file exit=0");
   ok(-f $output, "$file output exists");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]