Devel::Cover problem with Apache::Test

2005-09-15 Thread Hilary Holz
I'm trying to figure out why the coverage reports I'm getting from Devel::Cover (well, cover...) aren't recognizing the effects of most of my testing. A simple example is one module for which Devel::Cover doesn't record any subroutine coverage, yet I have tests for each of the subroutines that run

Re: Test::Harness Extension/Replacement with Color Hilighting

2005-09-15 Thread Shlomi Fish
(I'm CCing Andy Lester, the maintainer of Test::Harness here, because I'd like to consult with him) On Monday 05 September 2005 12:42, Shlomi Fish wrote: > Hi all! > > Does anyone know of a Test::Harness extension or replacement that can color > the final report line in green if all tests passed

Re: ENV problems with testing

2005-09-15 Thread Comrade Burnout
James E Keenan wrote: > [[[ snip ]]] > >>> > [snip] > > Let me point out one other anomaly which may not be the source of the > problem. In the following line of output 'make' is using the perl > executable in /usr/bin > >>> /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" >>> blib/script/mod

[svn ci] Make PackFile_unpack just unpack, not fixup

2005-09-15 Thread Jonathan Worthington
Hi, I just checked in a change to make PackFile_unpack only unpack, not fixup the packfile. When writing code that wants to deal with PBC files, sometimes we want the raw bytecode before it has offsets replaced with memory addresses (I'm currently writing pbc_merge, which has this need). I cha

Re: ENV problems with testing

2005-09-15 Thread James E Keenan
Comrade Burnout wrote: James E Keenan wrote: And, again, to rule out obvious problems ... 1. When you ran 'make', did you get output that looks more or less like this: FWIW, here's the full output of make ... [ burnt ] :: make cp lib/ExtUtils/ModuleMaker/StandardText.pm blib/lib/ExtUti

Re: ENV problems with testing

2005-09-15 Thread Comrade Burnout
James E Keenan wrote: > And, again, to rule out obvious problems ... > 1. When you ran 'make', did you get output that looks more or less > like this: FWIW, here's the full output of make ... > [ burnt ] :: make > cp lib/ExtUtils/ModuleMaker/StandardText.pm > blib/lib/ExtUtils/ModuleMaker/Stand

Re: New kwalitee test, has_changes

2005-09-15 Thread Ivan Tubert-Brohman
James E Keenan wrote: Good point. Modules created with ExtUtils::ModuleMaker, by default, include a CHANGES file in the distribution. But it's easy to set an option to include the changes in the HISTORY section of the POD. Someone who does that should not be viewed as creating a distribution

Re: ENV problems with testing

2005-09-15 Thread James E Keenan
Comrade Burnout wrote: James E Keenan wrote: Comrade Burnout wrote: I'm not sure this is the right place to ask, but I'm at the end of my rope here. perl Makefile.pl make make test VERBOSE=>1 Did you include 'make' between 'perl Makefile.PL' and 'make test'? yes, i did. i

[perl #37178] [PATCH] Quiet a few alignment warnings

2005-09-15 Thread via RT
# New Ticket Created by Andy Dougherty # Please include the string: [perl #37178] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=37178 > Currently, on SPARC/Solaris with gcc, compilation of parrot produces 7,208 warnings o

[perl #37180] [PATCH] for #36252: [TODO] cleanup editor

2005-09-15 Thread via RT
# New Ticket Created by Joshua Hoblitt # Please include the string: [perl #37180] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=37180 > This patch fixes 'make clean' to recurse into the editor directory and 'make distclea

Re: ENV problems with testing

2005-09-15 Thread Comrade Burnout
James E Keenan wrote: > Comrade Burnout wrote: > >> I'm not sure this is the right place to ask, but I'm at the end of my >> rope here. >> >>> perl Makefile.pl >> > make > >>> make test VERBOSE=>1 >> >> >> > Did you include 'make' between 'perl Makefile.PL' and 'make test'? yes, i did. i just om

Re: New kwalitee test, has_changes

2005-09-15 Thread James E Keenan
Ricardo SIGNES wrote: * "Christopher H. Laco" <[EMAIL PROTECTED]> [2005-09-15T08:23:57] Would this look for Change OR ChangeLog? Both seem to be popular on CPAN. ...and some modules have a HISTORY or CHANGES section of POD, and DBI has DBI::Changes. Good point. Modules created with ExtUt

Re: ENV problems with testing

2005-09-15 Thread James E Keenan
Comrade Burnout wrote: I'm not sure this is the right place to ask, but I'm at the end of my rope here. I've been working with the ExtUtils::ModuleMaker author with some beta-testing of new releases. (part of `uname -a`) FreeBSD 5.2.1-RELEASE ( relevant perl -v ) This is perl, v5.6.1 built f

Re: tcl, exceptions in leo-ctx5

2005-09-15 Thread Will Coleda
Done. All tests pass for tcl in leo-ctx5. (And with leo's recent fixes, hopefully this means on all platforms for real this time. =-) This should also fix the problem on windows, as the missing functions have been uncommented, and are now available. Please svn up and retest. On Sep 15, 200

Re: destruction of loops

2005-09-15 Thread Matt Fowles
Nick~ On 9/15/05, Nicholas Clark <[EMAIL PROTECTED]> wrote: > On Thu, Sep 15, 2005 at 01:13:17PM -0400, Matt Fowles wrote: > > Nick~ > > > > Dan's plan was to do a topographic sort of the object tree to avoid > > this problem for non-loops and to break loops randomly. I believe he > > was even te

ENV problems with testing

2005-09-15 Thread Comrade Burnout
I'm not sure this is the right place to ask, but I'm at the end of my rope here. I've been working with the ExtUtils::ModuleMaker author with some beta-testing of new releases. (part of `uname -a`) FreeBSD 5.2.1-RELEASE ( relevant perl -v ) This is perl, v5.6.1 built for i386-freebsd I've just

Re: destruction of loops

2005-09-15 Thread Nicholas Clark
On Thu, Sep 15, 2005 at 01:13:17PM -0400, Matt Fowles wrote: > Nick~ > > Dan's plan was to do a topographic sort of the object tree to avoid > this problem for non-loops and to break loops randomly. I believe he > was even tempted to call rand in there just to make sure people didn't > come to de

Re: New kwalitee test, has_changes

2005-09-15 Thread chromatic
On Thu, 2005-09-15 at 16:00 +0200, David Landgren wrote: > As I was downloading the newest version of Devel::Cover this morning, I > pondered on the concept of 1 Kwalitee point for coverage >= 80%, and > another for 100%, and how absolutely impossible it would be to set out > to establish these

Re: destruction of loops

2005-09-15 Thread Leopold Toetsch
On Sep 15, 2005, at 18:29, Nicholas Clark wrote: On Wed, Sep 07, 2005 at 02:37:33PM +0200, Leopold Toetsch wrote: Parrot calls the "destroy" vtable function for all PMCs that have marked themselves with PObj_active_destroy_FLAG, when the object gets recycled due to GC *or* at program exit.

Re: New kwalitee test, has_changes

2005-09-15 Thread H.Merijn Brand
On Thu, 15 Sep 2005 11:52:00 +1000, Adam Kennedy <[EMAIL PROTECTED]> wrote: > Rather than do any additional exploding, I'd like to propose the > additional kwalitee test "has_changes". I've noticed that a percentage > (5-10%) of dists don't have a changes file, so it can be hard to know grep {

Re: New kwalitee test, has_changes

2005-09-15 Thread demerphq
On 9/15/05, David Landgren <[EMAIL PROTECTED]> wrote: > As I was downloading the newest version of Devel::Cover this morning, I > pondered on the concept of 1 Kwalitee point for coverage >= 80%, and > another for 100%, and how absolutely impossible it would be to set out > to establish these points

Re: destruction of loops

2005-09-15 Thread Matt Fowles
Nick~ Dan's plan was to do a topographic sort of the object tree to avoid this problem for non-loops and to break loops randomly. I believe he was even tempted to call rand in there just to make sure people didn't come to depend on a behavior... I think it might be wise for us to make all the de

Re: kwalitee: drop Acme?

2005-09-15 Thread Thomas Klausner
Hi! On Thu, Sep 15, 2005 at 05:53:17PM +0200, Tels wrote: > Shhh, dont tell anybody about my plan to hack the cpants webserver and > silently raising my K rating to "+inf" :) I've heard that. /me changes root passwd from 'toor' to '3l1+3' :-) -- #!/usr/bin/perl

destruction of loops

2005-09-15 Thread Nicholas Clark
On Wed, Sep 07, 2005 at 02:37:33PM +0200, Leopold Toetsch wrote: > Parrot calls the "destroy" vtable function for all PMCs that have marked > themselves with PObj_active_destroy_FLAG, when the object gets recycled > due to GC *or* at program exit. If I have 2 objects in a self-referencing loop,

Re: tcl in leo-ctx5

2005-09-15 Thread Leopold Toetsch
Will Coleda wrote: Leo mentions on IRC that some tests are failing on i386 and OSX 10.3 (10.2?). I'm passing 100% on OSX 10.4. After looking up and down in the sources and in tons of traces spit out by the tcl interpreter I eventually tracked down the bug. It was due to destroying exceptio

Re: New kwalitee test, has_changes

2005-09-15 Thread Tels
-BEGIN PGP SIGNED MESSAGE- Moin, On Thursday 15 September 2005 15:44, David Golden wrote: > Ricardo SIGNES wrote: > > * "Christopher H. Laco" <[EMAIL PROTECTED]> [2005-09-15T08:23:57] > > > >>Would this look for Change OR ChangeLog? > >>Both seem to be popular on CPAN. > > > > ...and some

Re: kwalitee: drop Acme?

2005-09-15 Thread Tels
-BEGIN PGP SIGNED MESSAGE- Moin, On Thursday 15 September 2005 00:42, Peter Kay wrote: > David Golden wrote: > > Probably could be done with a Build.PL that pulls the full module > > list then constructs a massive requires hash. Unless CPANTS scans > > for dependencies, in which case you

Re: New kwalitee test, has_changes

2005-09-15 Thread Thomas Klausner
Hi! On Thu, Sep 15, 2005 at 11:52:00AM +1000, Adam Kennedy wrote: > Rather than do any additional exploding, I'd like to propose the > additional kwalitee test "has_changes". I've noticed that a percentage > (5-10%) of dists don't have a changes file, so it can be hard to know > whether it's wo

tcl, exceptions in leo-ctx5

2005-09-15 Thread Will Coleda
Minor change to the exception PMC in the leo-ct5 branch - all exception class tests pass, but this version allows HLLs to use two slots in the exception object as a stopgap. This came up as I'm in near the end of converting tcl in leo-ctx5: versions to date have used two return codes to ind

Re: New kwalitee test, has_changes

2005-09-15 Thread David Landgren
Ricardo SIGNES wrote: * "Christopher H. Laco" <[EMAIL PROTECTED]> [2005-09-15T08:23:57] Would this look for Change OR ChangeLog? Both seem to be popular on CPAN. ...and some modules have a HISTORY or CHANGES section of POD, and DBI has DBI::Changes. As long as you use a recent ExtUtils::M

Re: New kwalitee test, has_changes

2005-09-15 Thread David Golden
Ricardo SIGNES wrote: * "Christopher H. Laco" <[EMAIL PROTECTED]> [2005-09-15T08:23:57] Would this look for Change OR ChangeLog? Both seem to be popular on CPAN. ...and some modules have a HISTORY or CHANGES section of POD, and DBI has DBI::Changes. Though, as with pod and pod coverage t

Re: New kwalitee test, has_changes

2005-09-15 Thread Ricardo SIGNES
* "Christopher H. Laco" <[EMAIL PROTECTED]> [2005-09-15T08:23:57] > > Would this look for Change OR ChangeLog? > Both seem to be popular on CPAN. ...and some modules have a HISTORY or CHANGES section of POD, and DBI has DBI::Changes. -- rjbs pgpcBJzXHBJhG.pgp Description: PGP signature

Re: New kwalitee test, has_changes

2005-09-15 Thread Gábor Szabó
On 9/15/05, Christopher H. Laco <[EMAIL PROTECTED]> wrote: > > Would this look for Change OR ChangeLog? > Both seem to be popular on CPAN. And some people put their changelog in the README. Gabor

Re: New kwalitee test, has_changes

2005-09-15 Thread Christopher H. Laco
Adam Kennedy wrote: Rather than do any additional exploding, I'd like to propose the additional kwalitee test "has_changes". I've noticed that a percentage (5-10%) of dists don't have a changes file, so it can be hard to know whether it's worth upgrading, or more importantly which version to ad

Re: New kwalitee test, has_changes

2005-09-15 Thread David Golden
Adam Kennedy wrote: Rather than do any additional exploding, I'd like to propose the additional kwalitee test "has_changes". I've noticed that a percentage (5-10%) of dists don't have a changes file, so it can be hard to know whether it's worth upgrading, or more importantly which version to ad

New kwalitee test, has_changes

2005-09-15 Thread Adam Kennedy
Rather than do any additional exploding, I'd like to propose the additional kwalitee test "has_changes". I've noticed that a percentage (5-10%) of dists don't have a changes file, so it can be hard to know whether it's worth upgrading, or more importantly which version to add dependencies for.