[libgtk3-perl] 11/20: Fix a test failure with Gtk3::Widget::render_icon

Intrigeri intrigeri at moszumanska.debian.org
Wed Mar 25 20:34:46 UTC 2015


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to branch experimental
in repository libgtk3-perl.

commit b732e973f80b9f519c126ba7d193b1592a69eb4a
Author: Torsten Schönfeld <kaffeetisch at gmx.de>
Date:   Tue Dec 30 20:55:49 2014 +0100

    Fix a test failure with Gtk3::Widget::render_icon
---
 t/overrides.t | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/t/overrides.t b/t/overrides.t
index 4caa369..041e0aa 100644
--- a/t/overrides.t
+++ b/t/overrides.t
@@ -534,10 +534,12 @@ __EOD__
 }
 
 note('Gtk3::Widget');
-{
+SKIP: {
   my $widget = Gtk3::Label->new ("Test");
-  isa_ok ($widget->render_icon ("gtk-open", "menu", "detail"),
-          "Gtk3::Gdk::Pixbuf");
+  my $pixbuf = $widget->render_icon ("gtk-open", "menu", "detail");
+  skip "pixbuf test; undef returned", 1
+    unless defined $pixbuf;
+  isa_ok ($pixbuf, "Gtk3::Gdk::Pixbuf");
 }
 
 SKIP: {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgtk3-perl.git



More information about the Pkg-perl-cvs-commits mailing list