From: Junio C Hamano Date: Tue, 15 Apr 2025 15:28:51 +0000 (-0700) Subject: Merge branch 'ps/test-wo-perl-prereq' into ps/fewer-perl X-Git-Tag: v2.50.0-rc0~71^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55f7879f573cd1bd560426aea212e96441add5b2;p=thirdparty%2Fgit.git Merge branch 'ps/test-wo-perl-prereq' into ps/fewer-perl * ps/test-wo-perl-prereq: t5703: refactor test to not depend on Perl t5316: refactor `max_chain()` to not depend on Perl t0210: refactor trace2 scrubbing to not use Perl t0021: refactor `generate_random_characters()` to not depend on Perl t/lib-httpd: refactor "one-time-perl" CGI script to not depend on Perl t/lib-t6000: refactor `name_from_description()` to not depend on Perl t/lib-gpg: refactor `sanitize_pgp()` to not depend on Perl t: refactor tests depending on Perl for textconv scripts t: refactor tests depending on Perl to print data t: refactor tests depending on Perl substitution operator t: refactor tests depending on Perl transliteration operator Makefile: stop requiring Perl when running tests meson: stop requiring Perl when tests are enabled t: adapt existing PERL prerequisites t: introduce PERL_TEST_HELPERS prerequisite t: adapt `test_readlink()` to not use Perl t: adapt `test_copy_bytes()` to not use Perl t: adapt character translation helpers to not use Perl t: refactor environment sanitization to not use Perl t: skip chain lint when PERL_PATH is unset --- 55f7879f573cd1bd560426aea212e96441add5b2 diff --cc meson.build index e98cfa4909,d6e27b236f..8bab8f3481 --- a/meson.build +++ b/meson.build @@@ -779,7 -772,7 +779,7 @@@ endi # features. It is optional if you want to neither execute tests nor use any of # these optional features. perl_required = get_option('perl') - if get_option('tests') or get_option('gitweb').enabled() or 'netrc' in get_option('credential_helpers') or get_option('docs') != [] -if get_option('gitweb').enabled() or 'netrc' in get_option('credential_helpers') ++if get_option('gitweb').enabled() or 'netrc' in get_option('credential_helpers') or get_option('docs') != [] perl_required = true endif