Skip Menu |

This queue is for tickets about the Data-DynamicValidator CPAN distribution.

Report information
The Basics
Id: 101068
Status: open
Priority: 0/
Queue: Data-DynamicValidator

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.03
Fixed in: (no value)



Subject: Constants from lexical variables potentially modified elsewhere are deprecated
perl 5.21.7 introduced a new warning which is causing the test suite of Data-DynamicValidator to fail like this: Constants from lexical variables potentially modified elsewhere are deprecated at /opt/perl-5.21.6/lib/site_perl/5.21.6/aliased.pm line 46. Constants from lexical variables potentially modified elsewhere are deprecated at /opt/perl-5.21.6/lib/site_perl/5.21.6/aliased.pm line 46. Constants from lexical variables potentially modified elsewhere are deprecated at /opt/perl-5.21.6/lib/site_perl/5.21.6/aliased.pm line 46. Constants from lexical variables potentially modified elsewhere are deprecated at /opt/perl-5.21.6/lib/site_perl/5.21.6/aliased.pm line 46. # Failed test 'no (unexpected) warnings (via done_testing)' # at t/05-selector.t line 110. # Looks like you failed 1 test of 33. t/05-selector.t ...... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/33 subtests
On 2014-12-21 11:19:37, SREZIC wrote: Show quoted text
> perl 5.21.7 introduced a new warning which is causing the test suite > of Data-DynamicValidator to fail like this: > > Constants from lexical variables potentially modified elsewhere are > deprecated at /opt/perl-5.21.6/lib/site_perl/5.21.6/aliased.pm line > 46. > Constants from lexical variables potentially modified elsewhere are > deprecated at /opt/perl-5.21.6/lib/site_perl/5.21.6/aliased.pm line > 46. > Constants from lexical variables potentially modified elsewhere are > deprecated at /opt/perl-5.21.6/lib/site_perl/5.21.6/aliased.pm line > 46. > Constants from lexical variables potentially modified elsewhere are > deprecated at /opt/perl-5.21.6/lib/site_perl/5.21.6/aliased.pm line > 46. > > # Failed test 'no (unexpected) warnings (via done_testing)' > # at t/05-selector.t line 110. > # Looks like you failed 1 test of 33. > t/05-selector.t ...... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/33 subtests
(IMO) a distribution's tests should not fail in normal user installs if there are warnings -- keep those failures for author testing only.