[perl-Glib-Object-Introspection] Tests: actually implement test skipping



commit 759e3c896fc25997e176a646cd533cf84d8aaf27
Author: Torsten SchÃnfeld <kaffeetisch gmx de>
Date:   Fri Dec 9 11:23:14 2011 +0100

    Tests: actually implement test skipping
    
    The previous implementation of check_gi_version did not work at all as
    intended.

 t/inc/setup.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/t/inc/setup.pl b/t/inc/setup.pl
index 012341b..039f33d 100644
--- a/t/inc/setup.pl
+++ b/t/inc/setup.pl
@@ -31,7 +31,7 @@ sub delta_ok ($$;$) {
 
 sub check_gi_version {
   my ($x, $y, $z) = @_;
-  return !system ('pkg-config', "atleast-version=$x.$y.$z");
+  return !system ('pkg-config', "--atleast-version=$x.$y.$z", 'gobject-introspection-1.0');
 }
 
 1;



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