]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ps/test-wo-perl-prereq' into ps/fewer-perl
authorJunio C Hamano <gitster@pobox.com>
Tue, 15 Apr 2025 15:28:51 +0000 (08:28 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Apr 2025 15:28:51 +0000 (08:28 -0700)
* 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

1  2 
meson.build
t/helper/test-path-utils.c
t/t0610-reftable-basics.sh
t/t5400-send-pack.sh
t/t5702-protocol-v2.sh
t/t5710-promisor-remote-capability.sh
t/t6300-for-each-ref.sh
t/t9350-fast-export.sh
t/test-lib-functions.sh
t/test-lib.sh

diff --cc meson.build
index e98cfa4909f288fc1cae907dc5c5a6a029f2b81f,d6e27b236fa62fdbc21a22c345425487adc5db36..8bab8f3481fcb16dc4d58d3ba257058c988b09b2
@@@ -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
  
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc t/test-lib.sh
Simple merge