t/gitweb-lib.sh: skip gitweb tests when perl dependencies are not met
commitb7d878075e751859ff344c8334ae016228676c4d
authorJunio C Hamano <gitster@pobox.com>
Wed, 15 Jun 2011 16:54:15 +0000 (15 09:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Jun 2011 22:30:16 +0000 (15 15:30 -0700)
treef9262c15c95392fc70bd1e1e01456aacddeb94bf
parent2c162b56f370f5c33e6a945e6922d598006c5ec4
t/gitweb-lib.sh: skip gitweb tests when perl dependencies are not met

Linus noticed that we go ahead testing gitweb and fail miserably on a
box with Perl but not perl-CGI library. We already have a code to detect
lack of Perl and refrain from testing gitweb in t/gitweb-lib.sh (by the
way, shouldn't it be called t/lib-gitweb.sh?), so let's extend it
to cover this case as well.

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/gitweb-lib.sh