r55967 - in /trunk/libgtk2-perl/debian: changelog patches/git-fix-test-failures-gtkaction.patch patches/series

carnil-guest at users.alioth.debian.org carnil-guest at users.alioth.debian.org
Sun Apr 11 16:37:39 UTC 2010


Author: carnil-guest
Date: Sun Apr 11 16:37:31 2010
New Revision: 55967

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=55967
Log:
Add patch to fix test failures in GtkAction.t. Don't make assumptions
about the number of proxies associated with the action. Thanks to Niko
Tyni for reporting (Closes: #576493).

Added:
    trunk/libgtk2-perl/debian/patches/git-fix-test-failures-gtkaction.patch
Modified:
    trunk/libgtk2-perl/debian/changelog
    trunk/libgtk2-perl/debian/patches/series

Modified: trunk/libgtk2-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgtk2-perl/debian/changelog?rev=55967&op=diff
==============================================================================
--- trunk/libgtk2-perl/debian/changelog (original)
+++ trunk/libgtk2-perl/debian/changelog Sun Apr 11 16:37:31 2010
@@ -1,3 +1,11 @@
+libgtk2-perl (1:1.221-6) UNRELEASED; urgency=low
+
+  * Add patch to fix test failures in GtkAction.t. Don't make assumptions
+    about the number of proxies associated with the action. Thanks to Niko
+    Tyni for reporting (Closes: #576493).
+ 
+ -- Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com>  Sun, 11 Apr 2010 18:35:57 +0200
+
 libgtk2-perl (1:1.221-5) unstable; urgency=low
 
   [ gregor herrmann ]

Added: trunk/libgtk2-perl/debian/patches/git-fix-test-failures-gtkaction.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgtk2-perl/debian/patches/git-fix-test-failures-gtkaction.patch?rev=55967&op=file
==============================================================================
--- trunk/libgtk2-perl/debian/patches/git-fix-test-failures-gtkaction.patch (added)
+++ trunk/libgtk2-perl/debian/patches/git-fix-test-failures-gtkaction.patch Sun Apr 11 16:37:31 2010
@@ -1,0 +1,37 @@
+Description: Fix test failures in GtkAction.t. Don't make assumptions
+ about the number of proxies associated with the action.
+Origin: commit: 71800dd9dd835456fb07411b7b582fbad9dddfbe, http://git.gnome.org/browse/perl-Gtk2/commit/?id=71800dd9dd835456fb07411b7b582fbad9dddfbe
+Bug: http://mail.gnome.org/archives/gtk-perl-list/2010-April/msg00026.html
+bug-Debian: http://bugs.debian.org/576493
+Author: Torsten Schönfeld <kaffeetisch at gmx.de>
+--- a/t/GtkAction.t
++++ b/t/GtkAction.t
+@@ -5,7 +5,7 @@
+ 
+ use Gtk2::TestHelper
+ 	at_least_version => [2, 4, 0, "Action-based menus are new in 2.4"],
+-	tests => 19, noinit => 0;
++	tests => 17, noinit => 0;
+ 
+ my $action = Gtk2::Action->new (name => 'Open',
+                                 label => '_Open',
+@@ -37,17 +37,11 @@
+ $widget = $action->create_tool_item;
+ isa_ok ($widget, 'Gtk2::ToolItem');
+ 
+-my @proxies = $action->get_proxies;
+-is (@proxies, 1);
+-
+ my $proxy = Gtk2::Button->new;
+ $action->connect_proxy ($proxy);
+- at proxies = $action->get_proxies;
+-is (@proxies, 2);
+-
++my @proxies = $action->get_proxies;
++ok (grep {$_ == $proxy} @proxies);
+ $action->disconnect_proxy ($proxy);
+- at proxies = $action->get_proxies;
+-is (@proxies, 1);
+ 
+ $action->connect_accelerator;
+ $action->disconnect_accelerator;

Modified: trunk/libgtk2-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgtk2-perl/debian/patches/series?rev=55967&op=diff
==============================================================================
--- trunk/libgtk2-perl/debian/patches/series (original)
+++ trunk/libgtk2-perl/debian/patches/series Sun Apr 11 16:37:31 2010
@@ -6,3 +6,4 @@
 gtkprintsettings_default_return_values
 git-fix-gtkassistant.patch
 git-fix-gtkbuildable.patch
+git-fix-test-failures-gtkaction.patch




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