[SCM] Debian packaging of libgeo-coder-googlev3-perl branch, master, updated. upstream/0.10-20-g4300e62
gregor herrmann
gregoa at debian.org
Fri Dec 23 16:08:26 UTC 2011
The following commit has been merged in the master branch:
commit c34c3b61bd667845c07f037041d656bbeaacc127
Author: gregor herrmann <gregoa at debian.org>
Date: Fri Dec 23 16:59:25 2011 +0100
Skip tests that need internet access.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1f01491
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+tests-no-network.patch
diff --git a/debian/patches/tests-no-network.patch b/debian/patches/tests-no-network.patch
new file mode 100644
index 0000000..761b8a1
--- /dev/null
+++ b/debian/patches/tests-no-network.patch
@@ -0,0 +1,17 @@
+Description: skip tests that need internet access, if NO_NETWORK is set
+Origin: vendor
+Forwarded: no
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2011-12-23
+
+--- a/t/geocode.t
++++ b/t/geocode.t
+@@ -16,6 +16,8 @@
+
+ SKIP: {
+
++last SKIP if $ENV{NO_NETWORK};
++
+ { # list context
+ ## There are eight hits in Berlin. Google uses to know seven of them.
+ ## But beginning from approx. 2010-05, only one location is returned.
diff --git a/debian/rules b/debian/rules
index 2d33f6a..21a87c5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,7 @@
%:
dh $@
+
+override_dh_auto_test:
+ NO_NETWORK=1 dh_auto_test
+
--
Debian packaging of libgeo-coder-googlev3-perl
More information about the Pkg-perl-cvs-commits
mailing list