in reply to New testing tool in the new Test::Harness

I immediately got it from CPAN, because I frequently want to run a seperate test file as if in "make test". So "prove" would be a welcome addition.

However, it seems "prove" does 1 thing wrong: it doesn't use the Perl executable with which Makefile.PL was executed.

My default Perl is a non-threaded one. Whenever I need to test one of my Thread::xxx modules, I execute the Makefile.PL with a threaded Perl executable. make test then knows to use the threaded Perl for the test. However, prove just uses the default Perl, which causes the test-script to not even compile!

It would seem to me that "prove" would need to find out which Perl executable was used. Or is this not what you had in mind for "prove" ?

Liz

Replies are listed 'Best First'.
Re: Re: New testing tool in the new Test::Harness
by petdance (Parson) on Nov 08, 2003 at 23:25 UTC
    Wow, hadn't thought of that at all. That makes a lot of sense.

    Can you please send a request to bug-test-harness at rt.cpan.org, explaining and giving an example?

    Thanks, xoxo,
    Andy