[libgtk3-perl] 06/20: Use Glib::Object::Introspection->CHECK_VERSION in the tests
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 af7310ef1ea14a6b2c96ee7582f84b30b89c9de3
Author: Torsten Schönfeld <kaffeetisch at gmx.de>
Date: Sat Nov 29 18:49:00 2014 +0100
Use Glib::Object::Introspection->CHECK_VERSION in the tests
Instead of executing pkg-config.
---
t/inc/setup.pl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/t/inc/setup.pl b/t/inc/setup.pl
index 2927363..a40bdfc 100644
--- a/t/inc/setup.pl
+++ b/t/inc/setup.pl
@@ -7,7 +7,8 @@ if (!Gtk3::init_check ()) {
sub check_gi_version {
my ($x, $y, $z) = @_;
- return !system ('pkg-config', "--atleast-version=$x.$y.$z", 'gobject-introspection-1.0');
+ #return !system ('pkg-config', "--atleast-version=$x.$y.$z", 'gobject-introspection-1.0');
+ return Glib::Object::Introspection->CHECK_VERSION ($x, $y, $z);
}
sub on_unthreaded_freebsd {
--
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