From: Junio C Hamano Date: Wed, 16 Apr 2025 20:54:20 +0000 (-0700) Subject: Merge branch 'ps/test-wo-perl-prereq' X-Git-Tag: v2.50.0-rc0~102 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9bdd7ecf7ec90433fc1803bf5d608d08857b3b49;p=thirdparty%2Fgit.git Merge branch 'ps/test-wo-perl-prereq' "make test" used to have a hard dependency on (basic) Perl; tests have been rewritten help environment with NO_PERL test the build as much as possible. * 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 --- 9bdd7ecf7ec90433fc1803bf5d608d08857b3b49 diff --cc meson.build index 0b91a6ff9f,d6e27b236f..62fedf0da6 --- a/meson.build +++ b/meson.build @@@ -815,7 -772,7 +815,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