The test passes with perl -w -T t/00-load.pl. It also passes with 'prove'.
I took a guess and removed the -T flag from the test script and 'make test' now works. I think Module::Starter puts that into the 00-load.t test by default. Thanks for your help and sorry to bug you with something that turned out to not be related to DateTime. Jerry Ursetti __ __ __ /_ / | (_ /\/\ / /__/ _ ) / \ Financial Data Systems and Analytics Management (805)557-4212 (Work) (805)732-8484 (Blackberry) -----Original Message----- From: Karen Etheridge [mailto:p...@froods.org] Sent: Thursday, November 08, 2012 9:55 AM To: datetime@perl.org Subject: Re: Test issue 'prove' (in all but the most recent releases of Test::Harness - fixed here - https://github.com/Perl-Toolchain-Gang/Test-Harness/commit/18794a8565633ae08f048b9cf6c25b03be6e1020 ) automatically applies the -w flag to tests, so you can reproduce this error via perl -w t/00-load.t. That will also set you see more output from the test, which will hopefully lead you to the exact problem - something to do with your local timezone settings, as you surmised. On Thu, Nov 08, 2012 at 05:01:36PM +0000, Ursetti, Jerry wrote: > When I run 'make test', the test fails with this error: > > 'Error: Cannot determine local time zone' > > If I run the test script directly, 'perl -T t/00-load.t', the test passes. > > I tried using the $TZ environment variable (which is set to my time zone of > PST8PDT) instead of 'local' in MODULE2. That gives me an 'Unknown error' > with 'make test' but it still passes when run directly. CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information or otherwise be protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information or otherwise protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.