RE: Request for Help - Too many perl arguments as of 2.43.0-rc0
- From
rsbecker@nexbridge.com <rsbecker@nexbridge.com>
- Date
- Nov 3, 2023, 21:30 UTC
- Message-ID
- <00c301da0e9d$0d2cb8e0$27862aa0$@nexbridge.com>
- In-Reply-To
- <CAPig+cTzWCpmksJm-0M1MfUSeYpWbgMaFNHRSOtAhCsNQigV-g@mail.gmail.com>
On November 3, 2023 4:52 PM, Eric Sunshine wrote:
Show 10 quoted lines
>On Fri, Nov 3, 2023 at 3:03 PM <rsbecker@nexbridge.com> wrote: >> I can no longer test git as the number of arguments (and size) sent to >> perl from the make infrastructure is too big for my platform. Is it >> possible to use xargs instead? > >Presumably you're talking about the invocation of chainlint.pl? >Considering that that's quite an unimportant part of `make test` for those just >running the test suite (as opposed to those authoring new tests), the simplest >workaround is to disable chainlint when you run the tests by setting environment >variable GIT_TEST_EXT_CHAIN_LINT to 0.
I tried both ways to specify this variable with no success:
/home/randall/git: make -C t/ all SHELL=/usr/coreutils/bin/bash GIT_TEST_EXT_CHAIN_LINT=0 make: Entering directory '/home/randall/git/t' rm -f -r 'test-results' /usr/coreutils/bin/bash: /usr/bin/perl: Argument list too long Makefile:125: recipe for target 'test-lint-shell-syntax' failed make: *** [test-lint-shell-syntax] Error 126 make: Leaving directory '/home/randall/git/t' /home/randall/git: GIT_TEST_EXT_CHAIN_LINT=0 make -C t/ all SHELL=/usr/coreutils/bin/bash make: Entering directory '/home/randall/git/t' rm -f -r 'test-results' /usr/coreutils/bin/bash: /usr/bin/perl: Argument list too long Makefile:125: recipe for target 'test-lint-shell-syntax' failed make: *** [test-lint-shell-syntax] Error 126 make: Leaving directory '/home/randall/git/t'