Ticket #240 (new defect)

Opened 1 year ago

Geo::Coordinates::UTM not dealt with nicely in some tests

Reported by: bob Assigned to: Nobody
Priority: normal Milestone:
Component: openguides Version: svn
Severity: major Keywords:
Cc:

Description

21_rdf and 69_bug_zero_geo dont skip tests if Geo::Coordinates::UTM is missing. Either it needs to be prereq or they need to skip tests using it.

test output below

t/21_rdf.................................ok 1/28Can't locate Geo/Coordinates/UTM. pm in @INC (@INC contains: /export/home/bob/.cpan/build/OpenGuides-0.61-fmJhOc/bl ib/lib /export/home/bob/.cpan/build/OpenGuides-0.61-fmJhOc/blib/arch /export/home /bob/.cpan/build/OpenGuides-0.61-fmJhOc/lib /export/home/bob/.cpan/build/OpenGuid es-0.61-fmJhOc/_build/lib /opt/csw/lib/perl/5.8.8 /opt/csw/share/perl/5.8.8 /opt/ csw/lib/perl/site_perl /opt/csw/share/perl/site_perl /opt/csw/lib/perl/csw /opt/c sw/share/perl/csw . /opt/csw/lib/perl/5.8.8 /opt/csw/share/perl/5.8.8 /opt/csw/li b/perl/site_perl /opt/csw/share/perl/site_perl /opt/csw/share/perl/site_perl /opt /csw/lib/perl/csw /opt/csw/share/perl/csw /opt/csw/share/perl/csw .) at /export/h ome/bob/.cpan/build/OpenGuides-0.61-fmJhOc/blib/lib/OpenGuides/Template.pm line 5 35. # Looks like you planned 28 tests but only ran 2. # Looks like your test died just after 2. t/21_rdf.................................dubious

Test returned status 255 (wstat 65280, 0xff00)

DIED. FAILED tests 3-28

Failed 26/28 tests, 7.14% okay

t/69_bug_zero_geo........................ok 3/6Can't locate Geo/Coordinates/UTM.p m in @INC (@INC contains: /export/home/bob/.cpan/build/OpenGuides-0.61-fmJhOc/bli b/lib /export/home/bob/.cpan/build/OpenGuides-0.61-fmJhOc/blib/arch /export/home/ bob/.cpan/build/OpenGuides-0.61-fmJhOc/lib /export/home/bob/.cpan/build/OpenGuide s-0.61-fmJhOc/_build/lib /opt/csw/lib/perl/5.8.8 /opt/csw/share/perl/5.8.8 /opt/c sw/lib/perl/site_perl /opt/csw/share/perl/site_perl /opt/csw/lib/perl/csw /opt/cs w/share/perl/csw . /opt/csw/lib/perl/5.8.8 /opt/csw/share/perl/5.8.8 /opt/csw/lib /perl/site_perl /opt/csw/share/perl/site_perl /opt/csw/share/perl/site_perl /opt/ csw/lib/perl/csw /opt/csw/share/perl/csw /opt/csw/share/perl/csw .) at /export/ho me/bob/.cpan/build/OpenGuides-0.61-fmJhOc/blib/lib/OpenGuides/Template.pm line 53 5. # Looks like you planned 6 tests but only ran 4. # Looks like your test died just after 4. t/69_bug_zero_geo........................dubious

Test returned status 255 (wstat 65280, 0xff00)

DIED. FAILED tests 5-6

Failed 2/6 tests, 66.67% okay