File: tests-no-network.patch

package info (click to toggle)
libgeo-coder-googlev3-perl 0.13-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 120 kB
  • ctags: 10
  • sloc: perl: 125; makefile: 4
file content (17 lines) | stat: -rw-r--r-- 447 bytes parent folder | download | duplicates (2)
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: not-needed
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2013-10-02

--- 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.