[perl-Gtk3] Tighten the GtkRadio* test skip conditions



commit 177b8dea6a3f19614b9c2a2b7ec770f942c2665e
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date:   Sat Nov 29 18:53:47 2014 +0100

    Tighten the GtkRadio* test skip conditions
    
    Require the gtk+ version that I actually tested things against, not just the
    first release in the corresponding minor series.  This hopefully fixes some
    failure reports from CPAN testers.

 t/zz-GtkRadioButton.t     |    4 ++--
 t/zz-GtkRadioMenuItem.t   |    4 ++--
 t/zz-GtkRadioToolButton.t |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/t/zz-GtkRadioButton.t b/t/zz-GtkRadioButton.t
index 2c30791..520c6c7 100644
--- a/t/zz-GtkRadioButton.t
+++ b/t/zz-GtkRadioButton.t
@@ -5,10 +5,10 @@ BEGIN { require './t/inc/setup.pl' }
 use strict;
 use warnings;
 
-if (Gtk3::CHECK_VERSION (3, 2, 0)) {
+if (Gtk3::CHECK_VERSION (3, 2, 5)) {
   plan tests => 11;
 } else {
-  plan skip_all => 'GtkRadioButton was not properly annotated in gtk+ < 3.2';
+  plan skip_all => 'GtkRadioButton was not properly annotated in gtk+ < 3.2.5';
 }
 
 {
diff --git a/t/zz-GtkRadioMenuItem.t b/t/zz-GtkRadioMenuItem.t
index bb294f0..8343eda 100644
--- a/t/zz-GtkRadioMenuItem.t
+++ b/t/zz-GtkRadioMenuItem.t
@@ -7,10 +7,10 @@ BEGIN { require './t/inc/setup.pl' }
 use strict;
 use warnings;
 
-if (Gtk3::CHECK_VERSION (3, 4, 0)) {
+if (Gtk3::CHECK_VERSION (3, 4, 5)) {
   plan tests => 12;
 } else {
-  plan skip_all => 'GtkRadioMenuItem was not properly annotated in gtk+ < 3.4';
+  plan skip_all => 'GtkRadioMenuItem was not properly annotated in gtk+ < 3.4.5';
 }
 
 {
diff --git a/t/zz-GtkRadioToolButton.t b/t/zz-GtkRadioToolButton.t
index b051862..3400133 100644
--- a/t/zz-GtkRadioToolButton.t
+++ b/t/zz-GtkRadioToolButton.t
@@ -7,10 +7,10 @@ BEGIN { require './t/inc/setup.pl' }
 use strict;
 use warnings;
 
-if (Gtk3::CHECK_VERSION (3, 4, 0)) {
+if (Gtk3::CHECK_VERSION (3, 4, 5)) {
   plan tests => 12;
 } else {
-  plan skip_all => 'GtkRadioToolButton was not properly annotated in gtk+ < 3.4';
+  plan skip_all => 'GtkRadioToolButton was not properly annotated in gtk+ < 3.4.5';
 }
 
 my $item = Gtk3::RadioToolButton -> new();


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