summaryrefslogtreecommitdiff
path: root/t/lib-gitweb.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-12-28 12:20:34 -0800
committerJunio C Hamano <gitster@pobox.com>2024-12-28 12:20:35 -0800
commit306ab352f4e98f6809ce52fc4e5d63fb947d0635 (patch)
tree78a3d335a8f44c9fa399d363633c0a96b1da9bdd /t/lib-gitweb.sh
parentdf2faf1a65fc821384e618b3c291a184fbed039e (diff)
parentd963ac98ec94fd2003722a794f0168a70ea1b815 (diff)
downloadgit-306ab352f4e98f6809ce52fc4e5d63fb947d0635.tar.xz
Merge branch 'ps/meson-test-wo-gitweb'
meson-based build without GitWeb failed the self tests. * ps/meson-test-wo-gitweb: meson: enable auto-discovered "gitweb" GIT-BUILD-OPTIONS: wire up NO_GITWEB option GIT-BUILD-OPTIONS: sort variables alphabetically
Diffstat (limited to 't/lib-gitweb.sh')
-rw-r--r--t/lib-gitweb.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/lib-gitweb.sh b/t/lib-gitweb.sh
index 7f9808ec20..a6e3dd11b3 100644
--- a/t/lib-gitweb.sh
+++ b/t/lib-gitweb.sh
@@ -105,6 +105,11 @@ if ! test_have_prereq PERL; then
test_done
fi
+if ! test_have_prereq GITWEB; then
+ skip_all='skipping gitweb tests, gitweb not available'
+ test_done
+fi
+
perl -MEncode -e '$e="";decode_utf8($e, Encode::FB_CROAK)' >/dev/null 2>&1 || {
skip_all='skipping gitweb tests, perl version is too old'
test_done