Re: [Perlunit-devel] (no subject)
Status: Beta
Brought to you by:
mca1001
From: Piers C. <pdc...@bo...> - 2001-11-15 18:59:50
|
Adam Spiers <ad...@sp...> writes: > Piers Cawley (pdc...@bo...) wrote: >> Adam Spiers <ad...@sp...> writes: >> >Piers Cawley (pdc...@bo...) 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? |