Re: [PATCH] Introduce Git.pm (v3)
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jun 24, 2006, 01:04 UTC
- Message-ID
- <7v4pyb74al.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20060623123904.GL21864@pasky.or.cz>
Petr Baudis <pasky@suse.cz> writes:
Show 6 quoted lines
>> By the way, you also need to adjust the testsuite so that it >> finds the Perl modules from freshly built tree before >> installing. I think (but haven't checked yet) the stuff written >> in Python does that already, so you might want to mimic it. > > It should be enough to -I../perl/blib/lib -I../perl/blib/arch/auto/Git.
-- >8 -- [PATCH] Perl interface: make testsuite work again.
Signed-off-by: Junio C Hamano <junkio@cox.net> --- t/test-lib.sh | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/t/test-lib.sh b/t/test-lib.sh index 05f6e79..fba0c51 100755 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -206,6 +206,8 @@ PYTHON=`sed -e '1{ PYTHONPATH=$(pwd)/../compat export PYTHONPATH } +PERL5LIB=$(pwd)/../perl/blib/lib:$(pwd)/../perl/blib/arch/auto/Git +export PERL5LIB test -d ../templates/blt || { error "You haven't built things yet, have you?" }
-- 1.4.1.rc1.gf2641