Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: jberry [...] frb.gov
Cc:
AdminCc:

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



CC: jberry [...] frb.gov
Subject: Mason 1.34: 2 failed tests
Date: Sat, 14 Oct 2006 21:06:32 -0400
To: bug-HTML-Mason [...] rt.cpan.org
From: Jim Berry <jberry [...] frb.gov>
Hi This may not be important, but v1.34 is failing 2 tests here which do not fail under v1.33. HTML::Mason 1.34 Perl v5.8.5 built for i386-linux-thread-multi Linux 2.6.9-42.0.2.ELsmp #1 SMP Thu Aug 17 18:00:32 EDT 2006 i686 i686 i386 GNU/Linux (Redhat Enterprise v4, but using a recompiled perl) Failed tests: t/05-request #28 t/10-cache #6 Thanks for a great package. Please let me know if you'd like more details. Jim Berry ===================== Relevant output from make test TEST_VERBOSE=1: t/05-request..................# Running request tests (36 tests): request object functionality 1..36 # Running abort (#1): test $m->abort method (autoflush on) ok 1 - abort [ snip ] # Running longjump (#28): Accidentally calling next to exit a component does not corrupt stack # Got warnings: # # ...but expected something matching: # (?-xism:Exiting subroutine via next) # Failed test (/a/arclx1/lcl/arc/work/jhb/rpm/BUILD/HTML-Mason-1.34/blib/lib/HTML/Mason/Tests.pm at line 593) not ok 28 - longjump # Running callers_out_of_bounds (#29): tests $m->callers() for out of bounds indexes t/10-cache....................# Running cache tests (20 tests): Test caching 1..20 # Running cache_packages (#1): test that Mason cache packages get created ok 1 - cache_packages [snip] # Running cache_self_expire_in (#6): test that $m->cache_self respects expire_in parameter # Got ... # ----- # x is 1 # # x is 2 # # x is 99 # ----- # ... but expected ... # ----- # x is 1 # # x is 1 # # x is 99 # ----- # Failed test (/a/arclx1/lcl/arc/work/jhb/rpm/BUILD/HTML-Mason-1.34/blib/lib/HTML/Mason/Tests.pm at line 593) not ok 6 - cache_self_expire_in =================
I got the first failure that you got but not the second one. My specs for comparison: $ perl -v This is perl, v5.8.7 built for i486-linux-gnu-thread-multi (with 1 registered patch, see perl -V for more detail) [snip...] $ uname -a Linux ubuntu 2.6.15-27-386 #1 PREEMPT Sat Sep 16 01:51:59 UTC 2006 i686 GNU/Linux
From: DROLSKY [...] cpan.org
Show quoted text
> Failed tests: > t/05-request #28
This one is a problem with the test, and should be fixed in the next release. Show quoted text
> t/10-cache #6
This I think is also a problem with the test. I've tweaked it a little to make it less likely to fail.
On Sat Oct 14 21:06:57 2006, jberry@frb.gov wrote: Show quoted text
> This may not be important, but v1.34 is failing 2 tests here which do > not fail under v1.33.
Can you try 1.35?
CC: jberry [...] frb.gov
Subject: Re: [rt.cpan.org #22099] Mason 1.34: 2 failed tests
Date: Mon, 23 Oct 2006 15:05:00 -0400
To: bug-HTML-Mason [...] rt.cpan.org
From: Jim Berry <jberry [...] frb.gov>
Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=22099 > > > On Sat Oct 14 21:06:57 2006, jberry@frb.gov wrote: > >
> > This may not be important, but v1.34 is failing 2 tests here which do > > not fail under v1.33.
> > Can you try 1.35?
All tests successful, 4 tests skipped. (output below) Thanks Jim $ make test /opt/perl/bin/perl Build --makefile_env_macros 1 test Converting custom POD tags in files under blib t/01-syntax...................ok t/01a-comp-calls..............ok t/02-sections.................ok t/02a-filter..................ok t/04-misc.....................ok t/05-request..................ok t/05a-stack-corruption........ok t/06-compiler.................ok t/06a-compiler_obj............ok t/07-interp...................ok t/07a-interp-mcr..............ok t/07b-interp-static-source....ok t/08-ah.......................skipped all skipped: no reason given t/09-component................ok t/09a-comp_content............ok t/10-cache....................ok t/10a-cache-1.0x..............ok t/11-inherit..................ok t/12-taint....................ok t/13-errors...................ok t/14-cgi......................ok t/14a-fake_apache.............ok t/15-subclass.................ok t/16-live_cgi.................skipped all skipped: no reason given t/17-print....................ok t/18-leak.....................ok t/19-subrequest...............ok t/20-plugins..................ok t/21-escapes..................ok t/22-path-security............ok t/23-leak2....................skipped all skipped: These tests require Test::Memory::Cycle to run. t/24-tools....................ok t/99-pod......................skipped all skipped: Test::Pod 1.20 not installed. All tests successful, 4 tests skipped. Files=33, Tests=486, 33 wallclock secs (13.49 cusr + 2.34 csys = 15.83 CPU)