Testing under CPANPLUS

2007-10-25 Thread Andy Armstrong
Before I work it out for myself does anyone know if it's possible to  
simulate the test environment created by CPANPLUS? We're currently  
seeing some funny results for Test::Harness with CPANPLUS and I'd  
like to add a Build target that runs the tests as if they were being  
run by CPANP that's available if CPANP is installed.


--
Andy Armstrong, Hexten





Re: Testing under CPANPLUS

2007-10-25 Thread David Golden
On 10/25/07, Andy Armstrong <[EMAIL PROTECTED]> wrote:
> Before I work it out for myself does anyone know if it's possible to
> simulate the test environment created by CPANPLUS? We're currently
> seeing some funny results for Test::Harness with CPANPLUS and I'd
> like to add a Build target that runs the tests as if they were being
> run by CPANP that's available if CPANP is installed.

Don't forget that you probably need to do that for both
CPANPLUS::Dist::MM and CPANPLUS::Dist::Build.  You'll also need to
test where Makefile.PL is actually some form of Module::Build::Compat.

David


Re: Testing under CPANPLUS

2007-10-25 Thread Andy Armstrong

On 25 Oct 2007, at 12:15, David Golden wrote:

On 10/25/07, Andy Armstrong <[EMAIL PROTECTED]> wrote:

Before I work it out for myself does anyone know if it's possible to
simulate the test environment created by CPANPLUS? We're currently
seeing some funny results for Test::Harness with CPANPLUS and I'd
like to add a Build target that runs the tests as if they were being
run by CPANP that's available if CPANP is installed.


Don't forget that you probably need to do that for both
CPANPLUS::Dist::MM and CPANPLUS::Dist::Build.  You'll also need to
test where Makefile.PL is actually some form of Module::Build::Compat.


I see. Urk :)

Right now I'm only interested in tracking a problem in Test::Harness  
itself - so I can narrow it to the case that's failing for us (I  
haven't yet worked out what that is).


--
Andy Armstrong, Hexten