mosquitto: fix build
[oi-userland.git] / components / developer / git / patches / 0003-test.patch
blob3b323e3d61988cc5573072acef04e355c5476fe3
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
9 @@ -66,6 +66,9 @@
10 sed -n 's/\.counts$$/.sh/p') && \
11 test -z "$$failed" || $(MAKE) $$failed
13 +test-noclean: pre-clean $(TEST_LINT)
14 + $(MAKE) T
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
19 @@ -135,6 +138,8 @@
20 test-lint-shell-syntax:
21 @'$(PERL_PATH_SQ)' check-non-portable-shell.pl $(T) $(THELPERS) $(TPERF)
23 +T: $(T)
25 test-lint-filenames:
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)