File: tests-no-network.patch

package info (click to toggle)
libgeo-coder-googlev3-perl 0.11-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 108 kB
  • sloc: perl: 103; makefile: 4
file content (17 lines) | stat: -rw-r--r-- 439 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: skip tests that need internet access, if NO_NETWORK is set
Origin: vendor
Forwarded: no
Author: gregor herrmann <gregoa@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.