r44168 - in /trunk/libclass-dbi-mysql-perl/debian: changelog patches/disable-database-tests.patch
ntyni at users.alioth.debian.org
ntyni at users.alioth.debian.org
Wed Sep 16 19:16:05 UTC 2009
Author: ntyni
Date: Wed Sep 16 19:15:59 2009
New Revision: 44168
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=44168
Log:
Fix a test failure with newer versions of Test::Simple. (Closes: #546226)
Modified:
trunk/libclass-dbi-mysql-perl/debian/changelog
trunk/libclass-dbi-mysql-perl/debian/patches/disable-database-tests.patch
Modified: trunk/libclass-dbi-mysql-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-dbi-mysql-perl/debian/changelog?rev=44168&op=diff
==============================================================================
--- trunk/libclass-dbi-mysql-perl/debian/changelog (original)
+++ trunk/libclass-dbi-mysql-perl/debian/changelog Wed Sep 16 19:15:59 2009
@@ -1,8 +1,12 @@
libclass-dbi-mysql-perl (1.00-3) UNRELEASED; urgency=low
+ [ Salvatore Bonaccorso ]
* debian/control: Changed: Replace versioned (build-)dependency on
perl (>= 5.6.0-{12,16}) with an unversioned dependency on perl (as
permitted by Debian Policy 3.8.3).
+
+ [ Niko Tyni ]
+ * Fix a test failure with newer versions of Test::Simple. (Closes: #546226)
-- Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com> Sun, 16 Aug 2009 20:13:30 +0200
Modified: trunk/libclass-dbi-mysql-perl/debian/patches/disable-database-tests.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-dbi-mysql-perl/debian/patches/disable-database-tests.patch?rev=44168&op=diff
==============================================================================
--- trunk/libclass-dbi-mysql-perl/debian/patches/disable-database-tests.patch (original)
+++ trunk/libclass-dbi-mysql-perl/debian/patches/disable-database-tests.patch Wed Sep 16 19:15:59 2009
@@ -15,6 +15,15 @@
my $HAVE_TP = eval { require Time::Piece::MySQL };
plan tests => 8;
+@@ -37,7 +39,7 @@
+ __PACKAGE__->set_up_table;
+ __PACKAGE__->autoinflate(dates => 'Time::Piece') if $HAVE_TP;
+
+-END { __PACKAGE__->drop_table }
++END { __PACKAGE__->drop_table if $ENV{TEST_DATABASE}; }
+
+ #-------------------------------------------------------------------------
+
--- /dev/null
+++ libclass-dbi-mysql-perl/t/01use.t
@@ -0,0 +1,3 @@
More information about the Pkg-perl-cvs-commits
mailing list