[Module-build-checkins] Module-Build/t common.pl,1.15,1.16
Status: Beta
Brought to you by:
kwilliams
From: Ken W. <kwi...@us...> - 2005-12-29 01:57:08
|
Update of /cvsroot/module-build/Module-Build/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27203 Modified Files: common.pl Log Message: Move bundled modules to a different area than our support code Index: common.pl =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/common.pl,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- common.pl 22 Nov 2005 11:07:23 -0000 1.15 +++ common.pl 29 Dec 2005 01:56:52 -0000 1.16 @@ -1,12 +1,13 @@ use strict; use Config; -BEGIN { +use lib 't/lib'; +BEGIN { # In case the test wants to use Test::More or our other bundled # modules, make sure they can be loaded. They'll still do "use # Test::More" in the test script. - my $t_lib = File::Spec->catdir('t', 'lib'); + my $t_lib = File::Spec->catdir('t', 'bundled'); push @INC, $t_lib; # Let user's installed version override # Make sure none of our tests load the users ~/.modulebuildrc file |