Re: ENV problems with testing

2005-09-20 Thread Ovid
--- Michael G Schwern <[EMAIL PROTECTED]> wrote: > > 5.005 introduced qr// > > > > $ ~/Reference/5.005_04/bin/perl5.00504-32 -le '$r = qr/(p...)/; $^X > =~ $r; print $1' > > perl > > If you're using it for any serious amount of nesting (ie. building up > a regex > with a bunch of qr's) it didn't

Re: ENV problems with testing

2005-09-20 Thread Michael G Schwern
On Tue, Sep 20, 2005 at 07:50:03AM -0400, James E Keenan wrote: > >I think you misunderstand. The problem is not using relative paths in > >chdir. > >The problem is that @INC contains a relative path. So if you change > >directories, the ./blib/lib entry in @INC is no longer valid. I forgot to

Re: ENV problems with testing

2005-09-20 Thread Michael G Schwern
On Tue, Sep 20, 2005 at 02:52:53PM +0100, Nicholas Clark wrote: > On Mon, Sep 19, 2005 at 09:42:52PM -0400, James E Keenan wrote: > > (Secondary reason for tests needing 5.6: as you, Schwern, pointed out > > several weeks back, doing without qr// is just too painful!) > > 5.005 introduced qr// >

Re: ENV problems with testing

2005-09-20 Thread Nicholas Clark
On Mon, Sep 19, 2005 at 09:42:52PM -0400, James E Keenan wrote: > (Secondary reason for tests needing 5.6: as you, Schwern, pointed out > several weeks back, doing without qr// is just too painful!) 5.005 introduced qr// $ ~/Reference/5.005_04/bin/perl5.00504-32 -le '$r = qr/(p...)/; $^X =~ $r;

Re: ENV problems with testing

2005-09-20 Thread James E Keenan
Michael G Schwern wrote: On Mon, Sep 19, 2005 at 09:42:52PM -0400, James E Keenan wrote: Schwern: Do you think it's worthwhile accounting for this MakeMaker anachronism in writing test files, i.e., providing an absolute path to every chdir call? I think you misunderstand. The problem is

Re: ENV problems with testing

2005-09-19 Thread Michael G Schwern
On Mon, Sep 19, 2005 at 09:42:52PM -0400, James E Keenan wrote: > Schwern: Do you think it's worthwhile accounting for this MakeMaker > anachronism in writing test files, i.e., providing an absolute path to > every chdir call? I think you misunderstand. The problem is not using relative paths

Re: ENV problems with testing

2005-09-19 Thread Comrade Burnout
James E Keenan wrote: > snip > > The thing that puzzled me about Burnout's test failures was that they > seemed to happen at places where the code was very mundane. We've > been communicating on this list, Perlmonks, and off-list about it for > weeks. We did confirm that the tests were

Re: ENV problems with testing

2005-09-19 Thread James E Keenan
Michael G Schwern wrote: On Mon, Sep 19, 2005 at 06:55:12PM -0500, Comrade Burnout wrote: i upgraded to 5.8.2 (i think that's the minor version number .. don't recall), and that "magickally" fixed everything. i was running 5.6.1 at the time. Oh. Did you chdir() at all in the tests? Earl

Re: ENV problems with testing

2005-09-19 Thread Michael G Schwern
On Mon, Sep 19, 2005 at 06:55:12PM -0500, Comrade Burnout wrote: > i upgraded to 5.8.2 (i think that's the minor version number .. don't > recall), and that "magickally" fixed everything. > > i was running 5.6.1 at the time. Oh. Did you chdir() at all in the tests? Earlier versions of MakeMake

Re: ENV problems with testing

2005-09-19 Thread Comrade Burnout
Michael G Schwern wrote: >On Thu, Sep 15, 2005 at 01:32:47PM -0500, Comrade Burnout wrote: > > >>But, some of the test fail because the previously installed version of >>EU::MM ends up being used in the tests, and not the version in my local >>dir (that I'm trying to test) >> >> > >Do your t

Re: ENV problems with testing

2005-09-19 Thread Michael G Schwern
On Thu, Sep 15, 2005 at 01:32:47PM -0500, Comrade Burnout wrote: > But, some of the test fail because the previously installed version of > EU::MM ends up being used in the tests, and not the version in my local > dir (that I'm trying to test) Do your tests run another copy of Perl? ie... system

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

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: 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

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: 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