Merge branch 'jc/no-gitweb-test-without-cgi-etc'

* jc/no-gitweb-test-without-cgi-etc:
  t/gitweb-lib.sh: skip gitweb tests when perl dependencies are not met
This commit is contained in:
Junio C Hamano 2011-07-13 14:31:36 -07:00
Родитель ff968f03e6 b7d878075e
Коммит 6389a79dd4
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -107,4 +107,9 @@ perl -MEncode -e '$e="";decode_utf8($e, Encode::FB_CROAK)' >/dev/null 2>&1 || {
test_done
}
perl -MCGI -MCGI::Util -MCGI::Carp -e 0 >/dev/null 2>&1 || {
skip_all='skipping gitweb tests, CGI module unusable'
test_done
}
gitweb_init