Skip Menu |

This queue is for tickets about the threads-lite CPAN distribution.

Report information
The Basics
Id: 77947
Status: resolved
Priority: 0/
Queue: threads-lite

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.031
Fixed in: 0.032



Subject: Tests fails due to syntax on perl 5.16.0 around when expression
Tests fails on syntax error with perl 5.16.0: # Testing threads::lite 0.031, Perl 5.016000, /usr/bin/perl t/00-load.t ....... ok syntax error at t/10-basics.t line 32, near ") {" syntax error at t/10-basics.t line 36, near ") {" syntax error at t/10-basics.t line 40, near ") {" syntax error at t/10-basics.t line 43, near ") {" Too many arguments for threads::lite::receive at t/10-basics.t line 47, near ") {" syntax error at t/10-basics.t line 47, near ") {" syntax error at t/10-basics.t line 55, near "}" Execution of t/10-basics.t aborted due to compilation errors. # Looks like your test exited with 255 before it could output anything. t/10-basics.t ..... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 6/6 subtests t/11-input.t ...... ok t/20-lists.t ...... ok syntax error at t/20-queues.t line 32, near ") {" Too many arguments for threads::lite::receive at t/20-queues.t line 38, near "}" syntax error at t/20-queues.t line 38, near "}" Execution of t/20-queues.t aborted due to compilation errors. # Looks like your test exited with 255 before it could output anything. t/20-queues.t ..... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 4/4 subtests t/pod-coverage.t .. ok t/pod.t ........... ok Test Summary Report All the errors points to border between `when' expression and block delimiter.
Subject: Re: [rt.cpan.org #77947] Tests fails due to syntax on perl 5.16.0 around when expression
Date: Thu, 21 Jun 2012 16:05:55 +0200
To: bug-threads-lite [...] rt.cpan.org
From: Leon Timmermans <fawaka [...] gmail.com>
On Thu, Jun 21, 2012 at 3:55 PM, Petr Pisar via RT <bug-threads-lite@rt.cpan.org> wrote: Show quoted text
> Thu Jun 21 09:55:08 2012: Request 77947 was acted upon. > Transaction: Ticket created by ppisar >       Queue: threads-lite >     Subject: Tests fails due to syntax on perl 5.16.0 around when expression >   Broken in: 0.031 >    Severity: (no value) >       Owner: Nobody >  Requestors: ppisar@redhat.com >      Status: new >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=77947 > > > > Tests fails on syntax error with perl 5.16.0: > > # Testing threads::lite 0.031, Perl 5.016000, /usr/bin/perl > t/00-load.t ....... ok > syntax error at t/10-basics.t line 32, near ") {" > syntax error at t/10-basics.t line 36, near ") {" > syntax error at t/10-basics.t line 40, near ") {" > syntax error at t/10-basics.t line 43, near ") {" > Too many arguments for threads::lite::receive at t/10-basics.t line 47, > near ") {" > syntax error at t/10-basics.t line 47, near ") {" > syntax error at t/10-basics.t line 55, near "}" > Execution of t/10-basics.t aborted due to compilation errors. > # Looks like your test exited with 255 before it could output anything. > t/10-basics.t ..... > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 6/6 subtests > t/11-input.t ...... ok > t/20-lists.t ...... ok > syntax error at t/20-queues.t line 32, near ") {" > Too many arguments for threads::lite::receive at t/20-queues.t line 38, > near "}" > syntax error at t/20-queues.t line 38, near "}" > Execution of t/20-queues.t aborted due to compilation errors. > # Looks like your test exited with 255 before it could output anything. > t/20-queues.t ..... > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 4/4 subtests > t/pod-coverage.t .. ok > t/pod.t ........... ok > Test Summary Report > > All the errors points to border between `when' expression and block > delimiter.
This is a result of «use 5.010;» no longer loading feature.pm. I fixed this in a development release (0.031_001), but I forgot to make a stable release. Will do that soon. Leon
Subject: Re: [rt.cpan.org #77947] Tests fails due to syntax on perl 5.16.0 around when expression
Date: Thu, 21 Jun 2012 16:20:47 +0200
To: Leon Timmermans via RT <bug-threads-lite [...] rt.cpan.org>
From: Petr Pisar <ppisar [...] redhat.com>
On Thu, Jun 21, 2012 at 10:06:29AM -0400, Leon Timmermans via RT wrote: Show quoted text
> > > > All the errors points to border between `when' expression and block > > delimiter.
> > This is a result of «use 5.010;» no longer loading feature.pm. I fixed > this in a development release (0.031_001), but I forgot to make a > stable release. Will do that soon. >
Thanks for quick response. I cherry-picked 533cb277fac9df224ee63c8088e946b790ee44d3 commit fixing this issue. -- Petr
Download (untitled)
application/pgp-signature 230b

Message body not shown because it is not plain text.