File: no_test_data

package info (click to toggle)
libgeo-postcode-perl 0.17%2Bdfsg1-1.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, trixie
  • size: 180 kB
  • sloc: perl: 494; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 736 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: don't run the tests which depend on the non-DFSG free data
Origin: vendor
Index: trunk/t/01_test.t
===================================================================
--- trunk.orig/t/01_test.t	2011-02-05 13:30:14.000000000 +0000
+++ trunk/t/01_test.t	2011-02-05 13:31:40.000000000 +0000
@@ -55,6 +55,8 @@
 }
 
 isa_ok($postcode->location, 'Geo::Postcode::Location', 'location object');
+SKIP: {
+    skip "No postcode database in this distribution", 13;
 is($postcode->gridn, 497700, 'grid north');
 is($postcode->gride, 340800, 'grid east');
 is($postcode->lat, 54.371, 'grid latitude');
@@ -86,3 +88,4 @@
 $hmmm->location_class('Geo::Postcode::Location');
 
 is($hmmm->gridref, 'SD408977', 'location class mutator');
+}