Jim Turner via cpan-testers-discuss <cpan-testers-discuss@perl.org> writes:
> Greetings, > > I've released a new module to CPAN that requires a working > internet connection to pass it's test harness (it's only function is > to retrieve certain data from specific types of internet sites. It's > failing pretty much across testing platforms indicating that it's not > able to fetch any data. How can this be addressed in my test harness? > > Regards, > > Jim > =========================== SAMPLE TEST FAILURE > ================================ > Dear TURNERJW, > > This is a computer-generated error report created automatically by > CPANPLUS, version 0.9162. Testers personal comments may appear > at the end of this report. > > > Thank you for uploading your work to CPAN. However, it appears that > there were some problems testing your distribution. > > TEST RESULTS: > > Below is the error stack from stage 'make test': > > PERL_DL_NONLAZY=1 "/home/cpan/pit/bare/perl-5.14.0/bin/perl" > "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > # Testing Tunein::Streams 1.01, Perl 5.014000, > /home/cpan/pit/bare/perl-5.14.0/bin/perl > t/00-load.t ....... ok > > # Failed test 'FAILED to find station (KLUV).' > # at t/01-run.t line 14. > ... > Hi Jim, given the high ratio of fail reports something else has to be wrong --- most, if not all regular smokers have a working internet connection. I suspect something else is going wrong, e.g. the site has some kind of geoip handling. If I visit http://tunein.com/radio/987-KLUV-s33892/ in a browser, it says at the bottom: "Not available in your location Blake Powers on 98.7 KLUV" So maybe this could be the reason for the problems? Regards, slaven -- Slaven Rezic - slaven <at> rezic <dot> de BBBike - route planner for cyclists in Berlin WWW version: http://www.bbbike.de Perl/Tk version for Unix and Windows: http://bbbike.sourceforge.net