This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libfinance-quotehist-perl.

commit cd6cb257696bb148008499e01de8431923a2b641
Author: gregor herrmann <gre...@debian.org>
Date:   Tue May 12 00:10:30 2015 +0200

    Add patch to fix skip()ping network tests.
---
 debian/patches/series                   |  1 +
 debian/patches/t_10_quotes_tcount.patch | 24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 86215b0..56e2dca 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 disable_network_tests.patch
+t_10_quotes_tcount.patch
diff --git a/debian/patches/t_10_quotes_tcount.patch 
b/debian/patches/t_10_quotes_tcount.patch
new file mode 100644
index 0000000..e4f639d
--- /dev/null
+++ b/debian/patches/t_10_quotes_tcount.patch
@@ -0,0 +1,24 @@
+Description: fix tests without network
+ without $tcount, we get:
+ skip() needs to know $how_many tests are in the block at t/10_quotes.t line 11
+ remove duplicate use()es while we're here
+Origin: vendor
+Author: gregor herrmann <gre...@debian.org>
+Last-Update: 2015-05-12
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=104358
+Bug: https://rt.cpan.org/Ticket/Display.html?id=104358
+
+--- a/t/10_quotes.t
++++ b/t/10_quotes.t
+@@ -1,8 +1,6 @@
+-use FindBin;
+-use lib $FindBin::RealBin;
+-use testload;
+-
+-use Test::More tests => 16;
++my $tcount;
++BEGIN { $tcount = 16 }
++use Test::More tests => $tcount;
+ 
+ use FindBin;
+ use lib $FindBin::RealBin;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libfinance-quotehist-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to