Subject: | Tests easy to fall out of sync with DateTime::TimeZone |
t\01-local-win32.t is currently failing on Strawberry Perl 5.20.1 on Windows 7 Ultimate.
Four time zones cannot be found by t\01-local-win32.t
* Altai Standard Time
* Astrakhan Standard Time
* Bougainville Standard Time
* Tomsk Standard Time
This is because I have DateTime::TimeZone 1.74 installed which doesn't know about these time zones. 2.01 has all these time zones (for example, Altai is DateTime::TimeZone::Asia::Barnaul).
t\01-local-win32.t seems to test that DateTime::TimeZone knows about every time zone in the Windows registry. This would seem to guarantee test failure.
I'd recommend:
* Only test at install time that the common time zones work.
* Move the full check to an author test, use it to keep DateTime::TimeZone up to date.
Four time zones cannot be found by t\01-local-win32.t
* Altai Standard Time
* Astrakhan Standard Time
* Bougainville Standard Time
* Tomsk Standard Time
This is because I have DateTime::TimeZone 1.74 installed which doesn't know about these time zones. 2.01 has all these time zones (for example, Altai is DateTime::TimeZone::Asia::Barnaul).
t\01-local-win32.t seems to test that DateTime::TimeZone knows about every time zone in the Windows registry. This would seem to guarantee test failure.
I'd recommend:
* Only test at install time that the common time zones work.
* Move the full check to an author test, use it to keep DateTime::TimeZone up to date.