1 This simply adds a couple of targets to the test Makefile which allow us to
2 run the tests in parallel cleanly. This way the results don't get cleaned
3 up automatically after running the tests, and we can emit those results to
4 the master file. This might be interesting to upstream, but is really
5 specific to running the tests in an external framework.
7 --- git-2.45.1/t/Makefile.orig
8 +++ git-2.45.1/t/Makefile
10 sed -n 's/\.counts$$/.sh/p') && \
11 test -z "$$failed" || $(MAKE) $$failed
13 +test-noclean: pre-clean $(TEST_LINT)
16 prove: pre-clean check-chainlint $(TEST_LINT)
17 @echo "*** prove ***"; $(CHAINLINTSUPPRESS) $(PROVE) --exec '$(TEST_SHELL_PATH_SQ)' $(GIT_PROVE_OPTS) $(T) :: $(GIT_TEST_OPTS)
18 $(MAKE) clean-except-prove-cache
20 test-lint-shell-syntax:
21 @'$(PERL_PATH_SQ)' check-non-portable-shell.pl $(T) $(THELPERS) $(TPERF)
26 @# We do *not* pass a glob to ls-files but use grep instead, to catch
27 @# non-ASCII characters (which are quoted within double-quotes)