On 2015-01-31 13:42:59, SREZIC wrote:
Show quoted text> On 2015-01-31 13:33:01, SREZIC wrote:
> > The t/006_solar_longitude.t test fails on all my smoker machines:
> >
> > Invalid day of month (day = 31 - month = 6 - year = 1992)
> > at t/DateTime/Astro/Test.pm line 12.
> > # 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/006_solar_longitude.t .......
> > Dubious, test returned 255 (wstat 65280, 0xff00)
> > All 4 subtests passed
>
> It seems that the test only fails today (2015-01-31) --- if I fake the
> time using PERL5OPT=-MTime::Fake=-1d (or using +1d), then the test
> passes.
Probably it fails on every 31th... for example:
$ env PERL5OPT=-MTime::Fake=$(date --date="2016-08-31 12:00:00" +%s) /opt/perl-5.18.4/bin/prove -b t/006_solar_longitude.t
t/006_solar_longitude.t .. 1/? Invalid day of month (day = 31 - month = 6 - year = 1992)
at t/DateTime/Astro/Test.pm line 12.
# 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/006_solar_longitude.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
All 4 subtests passed
Test Summary Report
-------------------
t/006_solar_longitude.t (Wstat: 65280 Tests: 4 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=1, Tests=4, 0 wallclock secs ( 0.01 usr 0.02 sys + 0.07 cusr 0.01 csys = 0.11 CPU)
Result: FAIL