Subject: | Test suite fails with perl 5.19.x |
YATT's test suite fails with newest perls (5.19.10, 5.19.11). Following the beginning of the test log run:
Output from './Build test':
web/cgi-bin/yatt.lib/t/rlimit.t ........... skipped: BSD::Resource is not installed
web/cgi-bin/yatt.lib/t/topcgi-redirect.t .. skipped: yatt.cgi and testapp is not installed.
# Failed test 'require YATT::Translator::Perl;'
# at web/cgi-bin/yatt.lib/t/use.t line 64.
# Tried to require 'YATT::Translator::Perl'.
# Error: No such class t_attr at /home/cpansand/.cpan/build/YATT-v0.0.8-fpPXvw/web/cgi-bin/yatt.lib/t/../YATT/Translator/Perl.pm line 1396, near "my t_attr"
# Global symbol "$var" requires explicit package name at /home/cpansand/.cpan/build/YATT-v0.0.8-fpPXvw/web/cgi-bin/yatt.lib/t/../YATT/Translator/Perl.pm line 1396.
# Global symbol "$var" requires explicit package name at /home/cpansand/.cpan/build/YATT-v0.0.8-fpPXvw/web/cgi-bin/yatt.lib/t/../YATT/Translator/Perl.pm line 1397.
# Global symbol "$var" requires explicit package name at /home/cpansand/.cpan/build/YATT-v0.0.8-fpPXvw/web/cgi-bin/yatt.lib/t/../YATT/Translator/Perl.pm line 1397.
# Global symbol "$var" requires explicit package name at /home/cpansand/.cpan/build/YATT-v0.0.8-fpPXvw/web/cgi-bin/yatt.lib/t/../YATT/Translator/Perl.pm line 1397.
# No such class t_attr at /home/cpansand/.cpan/build/YATT-v0.0.8-fpPXvw/web/cgi-bin/yatt.lib/t/../YATT/Translator/Perl.pm line 1402, near "(my t_attr"
# Global symbol "$var" requires explicit package name at /home/cpansand/.cpan/build/YATT-v0.0.8-fpPXvw/web/cgi-bin/yatt.lib/t/../YATT/Translator/Perl.pm line 1402.
# Global symbol "$var" requires explicit package name at /home/cpansand/.cpan/build/YATT-v0.0.8-fpPXvw/web/cgi-bin/yatt.lib/t/../YATT/Translator/Perl.pm line 1407.
# Global symbol "$var" requires explicit package name at /home/cpansand/.cpan/build/YATT-v0.0.8-fpPXvw/web/cgi-bin/yatt.lib/t/../YATT/Translator/Perl.pm line 1412.
# Global symbol "$var" requires explicit package name at /home/cpansand/.cpan/build/YATT-v0.0.8-fpPXvw/web/cgi-bin/yatt.lib/t/../YATT/Translator/Perl.pm line 1412.
# Global symbol "$var" requires explicit package name at /home/cpansand/.cpan/build/YATT-v0.0.8-fpPXvw/web/cgi-bin/yatt.lib/t/../YATT/Translator/Perl.pm line 1413.
# No such class t_attr at /home/cpansand/.cpan/build/YATT-v0.0.8-fpPXvw/web/cgi-bin/yatt.lib/t/../YATT/Translator/Perl.pm line 1417, near "my t_attr"
# /home/cpansand/.cpan/build/YATT-v0.0.8-fpPXvw/web/cgi-bin/yatt.lib/t/../YATT/Translator/Perl.pm has too many errors.
# Compilation failed in require at (eval 58) line 2.
# Failed test 'require YATT::Translator::Perl::macro_dbfetch;'
# at web/cgi-bin/yatt.lib/t/use.t line 64.
# Tried to require 'YATT::Translator::Perl::macro_dbfetch'.
# Error: Attempt to reload YATT/Translator/Perl.pm aborted.
# Compilation failed in require at /home/cpansand/.cpan/build/YATT-v0.0.8-fpPXvw/web/cgi-bin/yatt.lib/t/../YATT/Translator/Perl/macro_dbfetch.pm line 4.
# Compilation failed in require at (eval 75) line 2.
# Looks like you failed 2 tests of 112.
web/cgi-bin/yatt.lib/t/use.t ..............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/112 subtests
(less 6 skipped subtests: 104 okay)
...
Regards,
Slaven