[SCM] Debian packaging of DBD-Firebird CPAN distribution branch, master, updated. debian/0.70-1

Damyan Ivanov dmn at debian.org
Tue Sep 27 20:32:04 UTC 2011


The following commit has been merged in the master branch:
commit c5d5d10d83058b64f48c233b413026f33d9fa928
Author: Damyan Ivanov <dmn at debian.org>
Date:   Tue Sep 27 23:14:57 2011 +0300

    add a patch from upstream fixing skipping of tests

diff --git a/debian/patches/git/fix-tests-skipping.patch b/debian/patches/git/fix-tests-skipping.patch
new file mode 100644
index 0000000..21e531e
--- /dev/null
+++ b/debian/patches/git/fix-tests-skipping.patch
@@ -0,0 +1,47 @@
+commit f72d792657e40649640802f8df94ba3014110727
+Author: Damyan Ivanov <dmn at debian.org>
+Commit: Damyan Ivanov <dmn at debian.org>
+
+    fix test skipping in t/75-utf8t and t/dbi-rowcount.t
+
+diff --git a/t/75-utf8.t b/t/75-utf8.t
+index f0db40d..db17993 100644
+--- a/t/75-utf8.t
++++ b/t/75-utf8.t
+@@ -16,12 +16,12 @@ use lib 't','.';
+ 
+ use Encode qw(encode_utf8);
+ 
++require 'tests-setup.pl';
++
+ eval "use Test::Exception; 1"
+     or plan skip_all => 'Test::Exception needed for this test';
+ plan tests => 37;
+ 
+-require 'tests-setup.pl';
+-
+ my $rc = read_cached_configs();
+ 
+ # first connect with charset ASCII
+diff --git a/t/dbi-rowcount.t b/t/dbi-rowcount.t
+index cf2ec7a..b4f79fe 100644
+--- a/t/dbi-rowcount.t
++++ b/t/dbi-rowcount.t
+@@ -6,7 +6,7 @@
+ 
+ use strict;
+ use warnings;
+-use Test::More tests => 84;
++use Test::More;
+ use DBI;
+ use vars qw($dbh $table);
+ 
+@@ -29,6 +29,8 @@ sub is_maybe_zbt {
+ 
+ # == Test Initialization =========================================
+ 
++plan tests => 84;
++
+ ($dbh) = connect_to_database({RaiseError => 1});
+ pass("connect");
+ $table = find_new_table($dbh);
diff --git a/debian/patches/series b/debian/patches/series
index 6bcf3f1..c082c72 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+git/fix-tests-skipping.patch
 git-append-config-ccflags.patch

-- 
Debian packaging of DBD-Firebird CPAN distribution



More information about the Pkg-perl-cvs-commits mailing list