Skip Menu |

This queue is for tickets about the SVG CPAN distribution.

Report information
The Basics
Id: 109521
Status: resolved
Priority: 0/
Queue: SVG

People
Owner: MANWAR [...] cpan.org
Requestors: tsibley [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.64
Fixed in: 2.68



Subject: Old Test::More doesn't support subtests
Test::More version 0.92, for example, doesn't support subtests, causing t/30-shapes.t to fail: t/30-shapes.t ................. "my" variable $svg masks earlier declaration in same scope at t/30-shapes.t line 33. "my" variable $tag masks earlier declaration in same scope at t/30-shapes.t line 34. "my" variable $xml masks earlier declaration in same scope at t/30-shapes.t line 40. "my" variable $svg masks earlier declaration in same scope at t/30-shapes.t line 49. "my" variable $tag masks earlier declaration in same scope at t/30-shapes.t line 50. "my" variable $xml masks earlier declaration in same scope at t/30-shapes.t line 64. syntax error at t/30-shapes.t line 10, near "subtest rectangle" syntax error at t/30-shapes.t line 28, near "}" syntax error at t/30-shapes.t line 44, near "}" syntax error at t/30-shapes.t line 69, near "}" Execution of t/30-shapes.t aborted due to compilation errors. # Looks like your test exited with 255 before it could output anything. t/30-shapes.t ................. Dubious, test returned 255 (wstat 65280, 0xff00) Since Test::More isn't listed as a dep of SVG, it doesn't get upgraded appropriately at build time.
Hi, With Test::More v0.94 or above works fine. So its just a matter of updating Makefile.PL to enforce this, I assume. If I get spare time, I will probably submit quick PR to sort this. Best Regards, Mohammad S Anwar
Fixed.