Skip to content

Commit 267143f

Browse files
pks-tgitster
authored andcommitted
meson: stop requiring Perl when tests are enabled
The Perl interpreter used to be a strict dependency for running our test suite. This requirement is explicit in the Meson build system, where we require Perl to be present unless tests have been disabled. With the preceding commits we have loosened this restriction so that it is now possible to run tests when Perl is unavailable. Loosen the above requirement accordingly. Signed-off-by: Patrick Steinhardt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 64b3eee commit 267143f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ endif
772772
# features. It is optional if you want to neither execute tests nor use any of
773773
# these optional features.
774774
perl_required = get_option('perl')
775-
if get_option('tests') or get_option('gitweb').enabled() or 'netrc' in get_option('credential_helpers')
775+
if get_option('gitweb').enabled() or 'netrc' in get_option('credential_helpers')
776776
perl_required = true
777777
endif
778778

0 commit comments

Comments
 (0)