Re: Test issue

[email protected] (Karen Etheridge)
Newsgroups perl.datetime
Message-ID <[email protected]>
'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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.