Adam Spiers <[EMAIL PROTECTED]> writes:

> Piers Cawley ([EMAIL PROTECTED]) wrote:
>> Adam Spiers <[EMAIL PROTECTED]> writes:
>> >Piers Cawley ([EMAIL PROTECTED]) wrote:
>> >> Well, it's sort of dependent on where you run the script from.
>> >> Actually I'm more inclined to stick the *modules* in t/tlib (I'll
>> >> explain why it has to be tlib in a minute) and then do 
>> >> 
>> >>     use lib 't/tlib', 'tlib';
>> >> 
>> >> So that you can run the tests from either the project root or from
>> >> inside the t directory. It has to be tlib instead of lib to avoid
>> >> using the files in lib/* rather than blib/*.
>> > 
>> > Yep, sounds good.  It doesn't look like there's any hook in MakeMaker
>> > so we could persuade it to add these to @INC directly, hmph.  Although
>> > doing it that way would break running the tests directly (isn't that
>> > deprecated however?)
>> 
>> Dunno about deprecated, it can be damned useful.
>> 
>> > I can do this right now if you want me to.
>> 
>> Go to it.
> 
> Done and committed.  Tests all pass for me; hope I haven't broken
> anything.

Nope, you fixed something. It works with no warnings under 5.7.2 now.
Which worries me strangely...

Oh yes, I've added doc/TODO to the MANIFEST

-- 
Piers

   "It is a truth universally acknowledged that a language in
    possession of a rich syntax must be in need of a rewrite."
         -- Jane Austen?

_______________________________________________
Perlunit-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/perlunit-devel

Reply via email to