diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-02-13 13:39:26 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-02-13 13:39:26 -0800 |
| commit | e10d5fcad046f3fabbad715f12f2d93d00f6ee60 (patch) | |
| tree | 684df545d0562ae8035ca802a84e7c69c9a2d674 /Makefile | |
| parent | 29722ee3a3ed8e4556bbdb97cb64046e130abeea (diff) | |
| parent | c591c3ceffd0a033eb228ebb54c596362ded5615 (diff) | |
| download | git-e10d5fcad046f3fabbad715f12f2d93d00f6ee60.tar.xz | |
Merge branch 'jc/ci-test-contrib-too'
Test contrib/ things in CI to catch breakages before they enter the
"next" branch.
* jc/ci-test-contrib-too:
: Some of our downstream folks run more tests than we do and catch
: breakages in them, namely, where contrib/*/Makefile has "test" target.
: Let's make sure we fail upon accepting a new topic that break them in
: 'seen'.
ci: ubuntu: use GNU coreutils for dirname
test: optionally test contrib in CI
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -342,6 +342,9 @@ include shared.mak # If it isn't set, fallback to $LC_ALL, $LANG or use the first utf-8 # locale returned by "locale -a". # +# Define TEST_CONTRIB_TOO to make "make test" run tests in contrib/ +# directories. +# # Define HAVE_CLOCK_GETTIME if your platform has clock_gettime. # # Define HAVE_CLOCK_MONOTONIC if your platform has CLOCK_MONOTONIC. @@ -3371,6 +3374,9 @@ export TEST_NO_MALLOC_CHECK test: all $(MAKE) -C t/ all +ifdef TEST_CONTRIB_TOO + $(MAKE) -C contrib/ test +endif perf: all $(MAKE) -C t/perf/ all |
