[libnet-xmpp-perl] 01/01: Rewrite disable_networking_tests.patch
Axel Beckert
abe at deuxchevaux.org
Mon Aug 10 12:56:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libnet-xmpp-perl.
commit 9a222e909254f798e58e2b87ce6692f5f43cf971
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Mon Aug 10 14:55:40 2015 +0200
Rewrite disable_networking_tests.patch
* Remove those tests which now have upstream network detection
* Add those tests which now need network detection, but haven't.
---
debian/changelog | 3 +++
debian/patches/disable_networking_tests.patch | 30 ++++++++++++++++-----------
2 files changed, 21 insertions(+), 12 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index cad469c..6d81436 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,9 @@ libnet-xmpp-perl (1.05-1) UNRELEASED; urgency=medium
according code has been removed upstream.
+ Add new build-dependencies on libyaml-tiny-perl and
liblwp-online-perl.
+ + Rewrite disable_networking_tests.patch:
+ - Remove those tests which now have upstream network detection
+ - Add those tests which now need network detection, but haven't.
* Recommend libdigest-hmac-perl (Closes: #794981)
-- Axel Beckert <abe at debian.org> Sat, 08 Aug 2015 21:06:03 +0200
diff --git a/debian/patches/disable_networking_tests.patch b/debian/patches/disable_networking_tests.patch
index 29e680d..aa5ca05 100644
--- a/debian/patches/disable_networking_tests.patch
+++ b/debian/patches/disable_networking_tests.patch
@@ -1,23 +1,29 @@
Description: Disable tests which require a network connection
Forwarded: not-needed
Author: Florian Ragwitz <rafl at debian.org>
-Reviewed-by: gregor herrmann <gregoa at debian.org>
-Last-Update: 2011-08-08
+Reviewed-by: Axel Beckert
+Last-Update: 2015-08-10
---- a/t/2_client_jabberd1.4.t
-+++ b/t/2_client_jabberd1.4.t
-@@ -1,5 +1,5 @@
- use lib "t/lib";
--use Test::More tests=>5;
-+use Test::More skip_all => 'Disabled for the Debian build';
+Index: libnet-xmpp-perl/t/gtalk.t
+===================================================================
+--- libnet-xmpp-perl.orig/t/gtalk.t 2015-08-08 21:06:03.479243857 +0200
++++ libnet-xmpp-perl/t/gtalk.t 2015-08-10 11:52:20.271248101 +0200
+@@ -52,7 +52,7 @@
+ }
- BEGIN{ use_ok( "Net::XMPP" ); }
+ my $repeat = 5;
+-plan tests => 2 + 6 * $repeat;
++plan skip_all => 'Disabled for the Debian build';
---- a/t/3_client_jabberd2.t
-+++ b/t/3_client_jabberd2.t
+ # TODO ask user if it is ok to do network tests!
+ print_size('before loading Net::XMPP');
+Index: libnet-xmpp-perl/t/roster.t
+===================================================================
+--- libnet-xmpp-perl.orig/t/roster.t 2015-08-08 21:06:03.483243846 +0200
++++ libnet-xmpp-perl/t/roster.t 2015-08-10 11:53:00.850931172 +0200
@@ -1,5 +1,5 @@
use lib "t/lib";
--use Test::More tests=>5;
+-use Test::More tests=>75;
+use Test::More skip_all => 'Disabled for the Debian build';
BEGIN{ use_ok( "Net::XMPP" ); }
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-xmpp-perl.git
More information about the Pkg-perl-cvs-commits
mailing list