Skip Menu |
 

This queue is for tickets about the Template-Alloy CPAN distribution.

Report information
The Basics
Id: 79151
Status: resolved
Priority: 0/
Queue: Template-Alloy

People
Owner: Nobody in particular
Requestors: d.thomas [...] its.uq.edu.au
Cc: dam [...] cpan.org
gregoa [...] cpan.org
AdminCc:

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



Subject: 5.17.3: t/05_tt_base.t FAILs
Download (untitled) / with headers
text/plain 1.4k
RHEL5, my first build with 5.17.x with current versions of pretty well every module I build lots of "Unescaped left brace" warnings in many tests Template-Alloy-1.016.tar.gz t/05_tt_base.t .......... 1/3068 Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/ \G \${ <-- HERE / at /data/opt/uq.local/build/uq.cis.perl.build.rhel5-5.17.3-20120820/tarball-build/Template- Alloy-1.016/blib/lib/Template/Alloy/Parse.pm line 147. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/ \G \${ <-- HERE / at /data/opt/uq.local/build/uq.cis.perl.build.rhel5-5.17.3- 20120820/tarball-build/Template-Alloy-1.016/blib/lib/Template/Alloy/Parse.pm line 308. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/ \G \${ <-- HERE / at /data/opt/uq.local/build/uq.cis.perl.build.rhel5-5.17.3- 20120820/tarball-build/Template-Alloy-1.016/blib/lib/Template/Alloy/Parse.pm line 406. # testing stderr ... ok # Failed test 'Line 1179 "[% USE FooTest2 %]one"' # at t/05_tt_base.t line 70. # Was: # Should've been: one Test Summary Report ------------------- t/05_tt_base.t (Wstat: 256 Tests: 783 Failed: 1) Failed test: 783 Non-zero exit status: 1 Parse errors: Bad plan. You planned 3068 tests but ran 783. Files=10, Tests=2087, 3 wallclock secs ( 0.38 usr 0.04 sys + 2.19 cusr 0.16 csys = 2.77 CPU) Result: FAIL Failed 1/10 test programs. 1/2087 subtests failed.
From: d.thomas [...] its.uq.edu.au
still FAILs in perl-5.18.0
Download (untitled) / with headers
text/plain 127b
Same with 5.18.0 both on Linux and on Windows. Yes, this is a new warning in 5.18. I'll attach a patch when I have opportunity.
From: ppisar [...] redhat.com
Download (untitled) / with headers
text/plain 1.2k
Dne St 22.srp.2012 17:22:26, d.thomas@its.uq.edu.au napsal(a): Show quoted text
> lots of "Unescaped left brace" warnings in many tests > > > Template-Alloy-1.016.tar.gz > t/05_tt_base.t .......... 1/3068 Unescaped left brace in regex is > deprecated, passed through in > regex; marked by <-- HERE in m/ \G \${ <-- HERE / at > /data/opt/uq.local/build/uq.cis.perl.build.rhel5-5.17.3- > 20120820/tarball-build/Template- > Alloy-1.016/blib/lib/Template/Alloy/Parse.pm line 147.
Those are fixed in Template-Alloy-1.016. Show quoted text
> # testing stderr ... ok > # Failed test 'Line 1179 "[% USE FooTest2 %]one"' > # at t/05_tt_base.t line 70. > # Was: > > # Should've been: > one
This bug is still there (perl 5.18.0). There is a warning in addition: not ok 783 - Line 1179 "[% USE FooTest2 %]one" # Failed test 'Line 1179 "[% USE FooTest2 %]one"' # at t/05_tt_base.t line 70. # Was: <> # Should've been: <one> undef error - Can't locate object method "load" via package "MyTestPlugin::FooTest2" (perhaps you forgot to load "MyTestPlugin::FooTest2"?) at lib/Template/Alloy/Play.pm line 849. [ ['USE', 2, 16, [undef, 'FooTest2', [[[undef, '{}'], 0]]]], 'one', ] That's strange because MyTestPlugin::FooTest2 is based on MyTestPlugin::FooTest that has load().
Fixed in 1.018. This has now been tested in 5.8, 5.10, 5.12, 5.14, and 5.18.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.