aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-12-25 11:21:58 -0800
committerJunio C Hamano <gitster@pobox.com>2019-12-25 11:21:58 -0800
commit6514ad40a1a3cf80b2c25e3318dbf0252599fb8d (patch)
tree6d622d5a0a819b97615d1ae6638ee6dfcefc5716
parentMerge branch 'dl/format-patch-notes-config-fixup' (diff)
parentt5150: skip request-pull test if Perl is disabled (diff)
downloadgit-6514ad40a1a3cf80b2c25e3318dbf0252599fb8d.tar.gz
git-6514ad40a1a3cf80b2c25e3318dbf0252599fb8d.zip
Merge branch 'ra/t5150-depends-on-perl'
Some Porcelain commands are written in Perl, and tests on them are expected not to work when the platform lacks a working perl. * ra/t5150-depends-on-perl: t5150: skip request-pull test if Perl is disabled
-rwxr-xr-xt/t5150-request-pull.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t5150-request-pull.sh b/t/t5150-request-pull.sh
index 852dcd913f..1ad4ecc29a 100755
--- a/t/t5150-request-pull.sh
+++ b/t/t5150-request-pull.sh
@@ -4,6 +4,12 @@ test_description='Test workflows involving pull request.'
. ./test-lib.sh
+if ! test_have_prereq PERL
+then
+ skip_all='skipping request-pull tests, perl not available'
+ test_done
+fi
+
test_expect_success 'setup' '
git init --bare upstream.git &&