[gimp-perl] make t/02-netplugin.t ignore RANDR error
- From: Ed J <edj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-perl] make t/02-netplugin.t ignore RANDR error
- Date: Mon, 2 May 2016 04:43:20 +0000 (UTC)
commit ab9722b39261bab090693f8daca4ecae79da88e7
Author: Ed J <edj src gnome org>
Date: Mon May 2 05:40:07 2016 +0100
make t/02-netplugin.t ignore RANDR error
Changes | 1 +
t/02-netplugin.t | 4 +++-
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/Changes b/Changes
index 926cbb9..38f8546 100644
--- a/Changes
+++ b/Changes
@@ -4,6 +4,7 @@ Revision history for Perl module Gimp
Bug fixes:
- reduce hardcoding in t/02-netplugin.t
+ - make t/02-netplugin.t ignore RANDR error
2.31_01 2016-05-01
diff --git a/t/02-netplugin.t b/t/02-netplugin.t
index da7f2b9..dfe5393 100644
--- a/t/02-netplugin.t
+++ b/t/02-netplugin.t
@@ -2,9 +2,11 @@ use strict;
use Test::More;
our ($dir, $DEBUG);
my @PLUGINS;
+my $UNLIKE_RX;
BEGIN {
# $Gimp::verbose = 3;
@PLUGINS = qw(dots glowing_steel map_to_gradient redeye);
+ $UNLIKE_RX = qr/^Xlib: extension "RANDR" missing/;
$DEBUG = 0;
require 't/gimpsetup.pl';
# most minimal and elegant would be to symlink sandbox gimp-dir's
@@ -67,7 +69,7 @@ for my $test (@testbench) {
}
}
}
- is(join('', @errlines), '', "$name stderr empty");
+ unlike(join('', @errlines), $UNLIKE_RX, "$name stderr not of concern");
is(join('', @outlines), '', "$name stdout empty");
waitpid($pid, 0);
is($? >> 8, 0, "$file exit=0");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]