r42358 - in /trunk/libcddb-perl/debian: README.source changelog copyright patches/ patches/disable-internet-tests.t patches/series
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Fri Aug 21 21:32:33 UTC 2009
Author: jawnsy-guest
Date: Fri Aug 21 21:32:27 2009
New Revision: 42358
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=42358
Log:
Wrote a patch to disable live tests unless HAS_INTERNET is true
Added:
trunk/libcddb-perl/debian/README.source
trunk/libcddb-perl/debian/patches/
trunk/libcddb-perl/debian/patches/disable-internet-tests.t
trunk/libcddb-perl/debian/patches/series
Modified:
trunk/libcddb-perl/debian/changelog
trunk/libcddb-perl/debian/copyright
Added: trunk/libcddb-perl/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcddb-perl/debian/README.source?rev=42358&op=file
==============================================================================
--- trunk/libcddb-perl/debian/README.source (added)
+++ trunk/libcddb-perl/debian/README.source Fri Aug 21 21:32:27 2009
@@ -1,0 +1,5 @@
+This package uses quilt to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+See /usr/share/doc/quilt/README.source for a detailed explanation.
Modified: trunk/libcddb-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcddb-perl/debian/changelog?rev=42358&op=diff
==============================================================================
--- trunk/libcddb-perl/debian/changelog (original)
+++ trunk/libcddb-perl/debian/changelog Fri Aug 21 21:32:27 2009
@@ -1,7 +1,4 @@
libcddb-perl (1.21-1) UNRELEASED; urgency=low
-
- TODO:
- * FTBFS without internet access (test suite)
[ Jonathan Yu ]
* New upstream release
@@ -13,6 +10,7 @@
* Rewrote control description
* Bumped Build-Depends-Indep perl >= 5.6.0-16 (from 5.6.0-12) per Perl policy
* Standards-Version 3.8.2
+ * Wrote a patch to disable live tests unless HAS_INTERNET is true
[ gregor herrmann ]
* debian/control: Changed: Switched Vcs-Browser field to ViewSVN
Modified: trunk/libcddb-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcddb-perl/debian/copyright?rev=42358&op=diff
==============================================================================
--- trunk/libcddb-perl/debian/copyright (original)
+++ trunk/libcddb-perl/debian/copyright Fri Aug 21 21:32:27 2009
@@ -10,8 +10,8 @@
License: Artistic | GPL-1+
Files: debian/*
-Copyright: 2008, MartÃn Ferrari <tincho at debian.org>
- 2009, Jonathan Yu <frequency at cpan.org>
+Copyright: 2009, Jonathan Yu <frequency at cpan.org>
+ 2008, MartÃn Ferrari <tincho at debian.org>
License: Artistic | GPL-1+
License: Artistic
Added: trunk/libcddb-perl/debian/patches/disable-internet-tests.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcddb-perl/debian/patches/disable-internet-tests.t?rev=42358&op=file
==============================================================================
--- trunk/libcddb-perl/debian/patches/disable-internet-tests.t (added)
+++ trunk/libcddb-perl/debian/patches/disable-internet-tests.t Fri Aug 21 21:32:27 2009
@@ -1,0 +1,20 @@
+Description: Disable tests requiring Internet
+ By default, the test suite requires a connection to the CDDB
+ server. This uses an environment variable, HAS_INTERNET to
+ control whether live tests are run.
+Origin: vendor
+Forwarded: no
+Author: Jonathan Yu <frequency at cpan.org>
+--- a/t/01_cddb.t
++++ b/t/01_cddb.t
+@@ -14,6 +14,10 @@
+ select(STDOUT); $|=1;
+ };
+
++unless ($ENV{HAS_INTERNET}) {
++ plan skip_all => 'Set HAS_INTERNET to enable live tests';
++}
++
+ my ($i, $result);
+
+ ### test connecting
Added: trunk/libcddb-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcddb-perl/debian/patches/series?rev=42358&op=file
==============================================================================
--- trunk/libcddb-perl/debian/patches/series (added)
+++ trunk/libcddb-perl/debian/patches/series Fri Aug 21 21:32:27 2009
@@ -1,0 +1,1 @@
+disable-internet-tests.t
More information about the Pkg-perl-cvs-commits
mailing list