Skip Menu |

This queue is for tickets about the HTML-Mason CPAN distribution.

Report information
The Basics
Id: 53072
Status: resolved
Priority: 0/
Queue: HTML-Mason

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

Bug Information
Severity: Important
Broken in: 1.42
Fixed in: 1.43



Subject: t/06-compiler.t and t/13-errors.t fail
Hey guys, I'm failing these two tests (see below) which prevent installation of Mason. I'm happy to instrument code. This is a brand new computer installing everything fresh, so maybe a new version of one of Mason's dependencies broke something? Thanks! Shawn t/06-compiler.t .................... # Failed test 'line_nums' # at /Users/sartak/Library/Application Support/.cpan/build/HTML-Mason-1.42-SW2qL1/blib/lib/HTML/Mason/Tests.pm line 553. # Failed test 'line_nums2' # at /Users/sartak/Library/Application Support/.cpan/build/HTML-Mason-1.42-SW2qL1/blib/lib/HTML/Mason/Tests.pm line 553. # Failed test 'line_nums3' # at /Users/sartak/Library/Application Support/.cpan/build/HTML-Mason-1.42-SW2qL1/blib/lib/HTML/Mason/Tests.pm line 553. # Failed test 'line_nums4' # at /Users/sartak/Library/Application Support/.cpan/build/HTML-Mason-1.42-SW2qL1/blib/lib/HTML/Mason/Tests.pm line 553. # Failed test 'line_nums_with_escaped_newlines' # at /Users/sartak/Library/Application Support/.cpan/build/HTML-Mason-1.42-SW2qL1/blib/lib/HTML/Mason/Tests.pm line 553. # Failed test 'line_nums_off_by_one' # at /Users/sartak/Library/Application Support/.cpan/build/HTML-Mason-1.42-SW2qL1/blib/lib/HTML/Mason/Tests.pm line 553. # Failed test 'line_nums_off_2' # at /Users/sartak/Library/Application Support/.cpan/build/HTML-Mason-1.42-SW2qL1/blib/lib/HTML/Mason/Tests.pm line 553. # Failed test 'error_in_args' # at /Users/sartak/Library/Application Support/.cpan/build/HTML-Mason-1.42-SW2qL1/blib/lib/HTML/Mason/Tests.pm line 553. # Failed test 'use_source_line_numbers_1' # at /Users/sartak/Library/Application Support/.cpan/build/HTML-Mason-1.42-SW2qL1/blib/lib/HTML/Mason/Tests.pm line 593. # Looks like you failed 9 tests of 64. t/06-compiler.t .................... Dubious, test returned 9 (wstat 2304, 0x900) Failed 9/64 subtests t/13-errors.t ...................... # Failed test 'check_error_format_brief' # at /Users/sartak/Library/Application Support/.cpan/build/HTML-Mason-1.42-SW2qL1/blib/lib/HTML/Mason/Tests.pm line 593. # Looks like you failed 1 test of 26. t/13-errors.t ...................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/26 subtests
Subject: Re: [rt.cpan.org #53072] t/06-compiler.t and t/13-errors.t fail
Date: Thu, 24 Dec 2009 22:45:56 -0600 (CST)
To: Shawn M Moore via RT <bug-HTML-Mason [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Thu, 24 Dec 2009, Shawn M Moore via RT wrote: Show quoted text
> I'm failing these two tests (see below) which prevent installation of > Mason. I'm happy to instrument code. This is a brand new computer > installing everything fresh, so maybe a new version of one of Mason's > dependencies broke something?
I updated all my prereqs to their latest versions and could not reproduce. Using Perl 5.10.0 It'd be good to see the verbose test output so we could see what actually failed. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/
Subject: Re: [rt.cpan.org #53072] t/06-compiler.t and t/13-errors.t fail
Date: Fri, 25 Dec 2009 12:49:56 -0500
To: bug-HTML-Mason [...] rt.cpan.org
From: Shawn M Moore <sartak [...] gmail.com>

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #53072] t/06-compiler.t and t/13-errors.t fail
Date: Fri, 25 Dec 2009 16:01:43 -0600 (CST)
To: Shawn M Moore via RT <bug-HTML-Mason [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Fri, 25 Dec 2009, Shawn M Moore via RT wrote: Show quoted text
> # Got error: > # Dead at /Users/sartak/Library/Application > Support/.cpan/build/HTML-Mason-1.42-Nm327q/mason_tests/data/obj/1094569892/compiler/line_nums.obj > line 26. > # > # Stack: > # [/Users/sartak/Library/Application > Support/.cpan/build/HTML-Mason-1.42-Nm327q/mason_tests/data/obj/1094569892/compiler/line_nums.obj:26] > # > # ...but expected something matching: > # (?-xism:Dead at .* line 3)
Is this a _real_ line break? That could explain the problem. The regex ".*" won't match the newline. That could explain all the failures, I think. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/
Subject: Re: [rt.cpan.org #53072] t/06-compiler.t and t/13-errors.t fail
Date: Fri, 25 Dec 2009 17:29:05 -0500
To: bug-HTML-Mason [...] rt.cpan.org
From: Shawn M Moore <sartak [...] gmail.com>
On 12/25/09 5:01 PM, autarch@urth.org via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=53072 > > > On Fri, 25 Dec 2009, Shawn M Moore via RT wrote: >
>> # Got error: >> # Dead at /Users/sartak/Library/Application >> Support/.cpan/build/HTML-Mason-1.42-Nm327q/mason_tests/data/obj/1094569892/compiler/line_nums.obj >> line 26. >> # >> # Stack: >> # [/Users/sartak/Library/Application >> Support/.cpan/build/HTML-Mason-1.42-Nm327q/mason_tests/data/obj/1094569892/compiler/line_nums.obj:26] >> # >> # ...but expected something matching: >> # (?-xism:Dead at .* line 3)
> > Is this a _real_ line break?
Sadly no. The space might be the culprit though, since I don't think there's a space in any path when I run tests outside of cpan -i. Show quoted text
> That could explain the problem. The regex ".*" won't match the newline. > > That could explain all the failures, I think. > > > -dave > > /*============================================================ > http://VegGuide.org http://blog.urth.org > Your guide to all that's veg House Absolute(ly Pointless) > ============================================================*/ >
Subject: Re: [rt.cpan.org #53072] t/06-compiler.t and t/13-errors.t fail
Date: Fri, 25 Dec 2009 16:44:13 -0600 (CST)
To: Shawn M Moore via RT <bug-HTML-Mason [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Fri, 25 Dec 2009, Shawn M Moore via RT wrote: Show quoted text
> Queue: HTML-Mason > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=53072 > > > On 12/25/09 5:01 PM, autarch@urth.org via RT wrote:
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=53072 > >> >> On Fri, 25 Dec 2009, Shawn M Moore via RT wrote: >>
>>> # Got error: >>> # Dead at /Users/sartak/Library/Application >>> Support/.cpan/build/HTML-Mason-1.42-Nm327q/mason_tests/data/obj/1094569892/compiler/line_nums.obj >>> line 26. >>> # >>> # Stack: >>> # [/Users/sartak/Library/Application >>> Support/.cpan/build/HTML-Mason-1.42-Nm327q/mason_tests/data/obj/1094569892/compiler/line_nums.obj:26] >>> # >>> # ...but expected something matching: >>> # (?-xism:Dead at .* line 3)
>> >> Is this a _real_ line break?
> > Sadly no. The space might be the culprit though, since I don't think > there's a space in any path when I run tests outside of cpan -i.
Yep, it is the culprit. I have a fix checked in and I'll make a new release shortly. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/