aboutsummaryrefslogtreecommitdiffstats
path: root/t/lib-gitweb.sh
diff options
context:
space:
mode:
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