Subject: | Tests fail (with older Yandex::Geo?) (0.02) |
On some of my smoker systems the test suite fails:
...
# Failed test 'No tests run for subtest "_print2"'
# at t/lib/App/ygeo.t line 106.
Can't locate object method "properties" via package "Yandex::Geo::Company" at /home/cpansand/.cpan/build/2018081703/App-ygeo-0.02-0/blib/lib/App/ygeo.pm line 97.
App::ygeo::_print2(Text::CSV=HASH(0x442bb6d8), "filehandle", ARRAY(0x442bb468), HASH(0x442bb4f8)) called at t/lib/App/ygeo.t line 79
main::__ANON__() called at /usr/perl5.26.1p/lib/site_perl/5.26.1/Test/Builder.pm line 339
eval {...} called at /usr/perl5.26.1p/lib/site_perl/5.26.1/Test/Builder.pm line 339
Test::Builder::subtest(Test::Builder=HASH(0x41a7c300), "_print2", CODE(0x442a1540)) called at /usr/perl5.26.1p/lib/site_perl/5.26.1/Test/More.pm line 807
Test::More::subtest("_print2", CODE(0x442a1540)) called at t/lib/App/ygeo.t line 106
at /usr/perl5.26.1p/lib/site_perl/5.26.1/Test/Builder.pm line 383.
Test::Builder::subtest(Test::Builder=HASH(0x41a7c300), "_print2", CODE(0x442a1540)) called at /usr/perl5.26.1p/lib/site_perl/5.26.1/Test/More.pm line 807
Test::More::subtest("_print2", CODE(0x442a1540)) called at t/lib/App/ygeo.t line 106
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 4.
t/lib/App/ygeo.t .......
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/4 subtests
...
This seems to happen if older versions of Yandex::Geo are installed. Statistical analysis:
****************************************************************
Regression 'mod:Yandex::Geo'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 0.0000 0.0000 0.00
[1='eq_0.02'] 0.0000 0.0000 0.00
[2='eq_0.05'] 0.0000 0.0000 0.00
[3='eq_0.07'] 1.0000 0.0000 20459496523744944.00
R^2= 1.000, N= 23, K= 4
****************************************************************