Skip Menu |

This queue is for tickets about the Devel-Chitin CPAN distribution.

Report information
The Basics
Id: 124153
Status: resolved
Priority: 0/
Queue: Devel-Chitin

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

Bug Information
Severity: (no value)
Broken in:
  • 0.13
  • 0.14
Fixed in: 0.15-TRIAL



CC: ANDK [...] cpan.org
Subject: Tests fail with 5.27.8
The test log: ... # Failed test 'code for tr_operator' # at t/20-optree.t line 1354. # got: '$a; # $a = tr/(e/\400\000\000\000zyxw/cds' # expected: '$a; # $a = tr/$a/zyxw/cds' # showing whitespace: # >>$a;<< # >>$a = tr/(e/\400\000\000\000zyxw/cds<< # $@: # Tree: # Looks like you failed 1 test of 47. # Failed test 'string functions' # at t/20-optree.t line 209. dump() better written as CORE::dump(). dump() will no longer be available in Perl 5.30 at (eval 528) line 1. dump() better written as CORE::dump(). dump() will no longer be available in Perl 5.30 at (eval 528) line 2. Bareword found where operator expected at (eval 674) line 10, near "'ghi' whereso" (Missing operator before whereso?) Bareword found where operator expected at (eval 674) line 14, near "'456' whereis" (Missing operator before whereis?) # No tests run! # Failed test 'No tests run for subtest "given-when-5.27.7"' # at t/20-optree.t line 1129. Couldn't compile code for given_when_5_27: syntax error at (eval 674) line 3, near ") {" syntax error at (eval 674) line 7, near ") {" syntax error at (eval 674) line 10, near "'ghi' whereso " syntax error at (eval 674) line 11, near ") {" syntax error at (eval 674) line 16, near "'default case' }" Code was: use 5.27.7;use experimental 'switch';sub given_when_5_27 { my $a; given ($a) { whereso (m/abc/) { print 'abc'; print 'ABC' } whereso (m/def/) { print 'def' } print 'ghi' whereso (m/ghi/); whereis ('123') { print '123' } print '456' whereis (456); print 'default case' } } at t/20-optree.t line 1348. # Looks like your test exited with 255 just after 25. t/20-optree.t ...................... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 11/34 subtests (less 1 skipped subtest: 22 okay) ... It looks like there are two problems. The latter (given-when) is easy to explain: the whereis/whereso experiment was removed again from 5.27.8. The former (tr) may be something different.
On Sat Jan 20 15:24:13 2018, SREZIC wrote: Show quoted text
> The test log: > > ... > # Failed test 'code for tr_operator' > [...] > # Failed test 'No tests run for subtest "given-when-5.27.7"'
I just pushed up a new version that reverts the given/when changes. The 'tr' test seems to work fine for me. I'll leave this issue open for a while and watch the CPAN testers results. If I get clean test runs there, I'll close it.
RT-Send-CC: ANDK [...] cpan.org
On 2018-01-31 15:59:54, BRUMMETT wrote: Show quoted text
> On Sat Jan 20 15:24:13 2018, SREZIC wrote:
> > The test log: > > > > ... > > # Failed test 'code for tr_operator' > > [...] > > # Failed test 'No tests run for subtest "given-when-5.27.7"'
> > I just pushed up a new version that reverts the given/when changes. > The 'tr' test seems to work fine for me. > > I'll leave this issue open for a while and watch the CPAN testers > results. If I get clean test runs there, I'll close it.
Currently all 5.27.8 test results are red: http://fast-matrix.cpantesters.org/?dist=Devel-Chitin%200.14
On Thu Feb 01 15:17:04 2018, SREZIC wrote: Show quoted text
> Currently all 5.27.8 test results are red: > http://fast-matrix.cpantesters.org/?dist=Devel-Chitin%200.14
The format of the tr/// translation table changed. I've made a trial release to CPAN to make sure it's fixed.
On 2018-02-05 17:37:38, BRUMMETT wrote: Show quoted text
> On Thu Feb 01 15:17:04 2018, SREZIC wrote:
> > Currently all 5.27.8 test results are red: > > http://fast-matrix.cpantesters.org/?dist=Devel-Chitin%200.14
> > The format of the tr/// translation table changed. I've made a trial > release to CPAN to make sure it's fixed.
Looks good so far: http://fast-matrix.cpantesters.org/?dist=Devel-Chitin%200.15-TRIAL
On Tue Feb 06 02:06:25 2018, SREZIC wrote: Show quoted text
I just uploaded the real 0.15. I'll say this one is fixed.