Re: @INC paths for TAP::Harness

[email protected] ("David E. Wheeler")
Newsgroups perl.module.build
Message-ID <[email protected]>
On Jul 9, 2008, at 11:49, David E. Wheeler wrote:

>> You were not running './Build test --use-tap-harness' for  
>> Module::Build
>> because I am still sitting on the make-that-an--option code.
>
> The test I wrote uses it, though (as a boolean), and it runs tests.  
> Oh! The tests run by the tests have no dependencies. That's why it  
> didn't matter. Good catch!

Uh, but DistGen does generate this test:

     use Test::More tests => 1;
     use strict;

     use $self->{name};
     ok 1;

So with that `use` statement there, it is finding and loading the  
module. From where I don't know; it's best to pass the `lib` parameter  
to TAP::Harness anyway, as you say.

Best,

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.