Commit Graph

69 Commits (todo)

Author SHA1 Message Date
Junio C Hamano d943b576be Dothem/Make: prepare for proper worktree support
We used to (and we still may) depend on the new-workdir layout where
we could force checkout the same branch in the buildfarm directory.
Let's migrate it to use the officially supported worktree feature,
but be on detached HEADs.  Teach METAMAKEBRANCH environment variable
to Meta/Make, so that even a build on a detached HEAD can be told
for which branch it is building and installing.  Use the variable in
Meta/Dothem and adjust the script minimally.

So far, once the trees are set up, updating to newer revision and
building seem to work OK.  Nothing is done for bootstrapping part,
but this should do for now.
2026-08-23 21:30:55 -07:00
Junio C Hamano bb6d7d0b33 Meta/Dothem: $T == --test=X must come early on Meta/Make command line 2026-08-13 12:30:02 -07:00
Junio C Hamano 9b7c0fb58b Meta/Dothem: support test-vars and use it in Doit 2026-03-30 22:04:56 -07:00
Junio C Hamano bb4fe16695 Meta/Dothem: make individual tests more independent 2026-03-07 14:35:37 -08:00
Junio C Hamano 5e058d042b Meta/Dothem: allow different kinds of tests run at the same time 2026-03-04 14:52:12 -08:00
Junio C Hamano 0a2e649da7 Meta/Dothem: --breaking builds and tests with BREAKING_CHANGES enabled 2025-09-05 15:50:33 -07:00
Junio C Hamano 625e4b3112 Meta/Dothem: run test-lint 2025-08-17 16:09:12 -07:00
Junio C Hamano 8ab66f7ad9 Meta/Dothem: default to -j32, not -j2 2025-07-01 15:24:45 -07:00
Junio C Hamano c9eea792ab Meta/Dothem: reorganize sanitization trigger a bit 2025-06-09 09:35:46 -07:00
Junio C Hamano aee4a91b58 Meta/Dothem: under --sha256 mode, skip tests with sha1 build 2025-05-12 14:49:15 -07:00
Junio C Hamano 5dbd936032 Meta/Dothem: drive --meson 2025-04-17 17:09:06 -07:00
Junio C Hamano dc149545c2 Dothem: fix 'leaks' mode 2024-12-13 15:31:57 -08:00
Junio C Hamano 633ba22dc5 Dothem: run with leaks and sha256 2024-12-13 08:54:47 -08:00
Junio C Hamano 860bc4360c Meta/Dothem: add '--clean' option 2023-03-13 09:51:26 -07:00
Junio C Hamano 3452d82fc2 Meta/Dothem: remove regex.o after running sparse 2023-03-07 13:46:36 -08:00
Junio C Hamano 997a4e139f Dothem: allow using Asciidoctor 2022-10-26 10:35:13 -07:00
Junio C Hamano f67d454f64 Dothem: system regex.h seems to have trouble with sparse 2022-10-26 10:32:35 -07:00
Junio C Hamano 8fe2ce96f1 Meta/Dothem: allow optional sanitize tests 2022-10-21 12:02:38 -07:00
Junio C Hamano 244d1719af Meta/Dothem: optionally run various sanitizer tests with --san option 2022-10-10 14:34:00 -07:00
Junio C Hamano d786c64cd6 Meta/Dothem: run hdr-check locally 2022-01-24 10:32:50 -08:00
Junio C Hamano 5ec7e19bc3 Meta/Dothem: enable check-docs 2021-10-18 15:25:31 -07:00
Junio C Hamano 7d9ec4c25f Meta/Dothem: support --cocci 2021-03-19 23:54:46 -07:00
Junio C Hamano f83453f9c9 Meta/Dothem: use sparse 2020-11-02 17:59:14 -08:00
Junio C Hamano bd45e1c302 Meta: prepare to use alternate name for the primary branch 2020-07-22 21:38:21 -07:00
Junio C Hamano c483b4cf74 Meta: rename 'pu' to 'seen' 2020-06-22 17:20:27 -07:00
Junio C Hamano 9c6d544707 Dothem: let distclean run before switching to another revision
We run "make distclean" when --scratch is in effect, but that should
be done using the current Makefile and set of sources before flipping
to another branch.
2020-02-19 14:50:16 -08:00
Junio C Hamano d32db97b02 Meta/Dothem: make --memtrash configurable 2017-10-18 11:56:31 +09:00
Junio C Hamano d4ebbfcb6e Meta/Make: pass --no-prove and --long down thru Dothem to Make 2016-12-22 15:21:20 -08:00
Junio C Hamano b0fb9c0b1e Meta/Dothem: make sure that --scratch build is really from scratch 2016-05-26 14:29:05 -07:00
Junio C Hamano ed1b72e6f9 Meta/Dothem: use prove's --state option
This however makes it very cumbersome to limit the tests that are
run, so it is left out of Meta/Make.
2016-01-19 15:47:59 -08:00
Junio C Hamano 527e148feb Meta/Dothem: tell Meta/Make to test in the ramdisk 2015-06-29 14:25:55 -07:00
Junio C Hamano 5f30cab0d2 Meta/Dothem: clean with "distclean" 2015-04-28 15:47:53 -07:00
Junio C Hamano ebba4c72e6 Meta/Dothem: use chain-lint while testing 2015-04-14 12:58:00 -07:00
Junio C Hamano 390811230e Meta/Dothem: no need to retest only because RelNotes has changed 2015-02-23 13:15:36 -08:00
Junio C Hamano d1eae6908f Meta/Make: make it strict by default 2015-02-05 14:19:00 -08:00
Junio C Hamano 2eb29cb169 Meta/Dothem: fix typo that prevented ramdisk testpen from getting used 2014-09-23 10:48:58 -07:00
Junio C Hamano 121a85bcf9 Meta/Dothem: simplify rule to avoid running tests 2014-02-06 15:34:28 -08:00
Junio C Hamano 9340d1ffa7 Meta/Dothem: no need to retest if only documentation changed 2014-02-05 14:46:56 -08:00
Junio C Hamano 5af0393bd9 Meta/Dothem: do not barf if /dev/shm is not writable 2012-12-25 01:54:28 -08:00
Junio C Hamano 40c2133686 Meta/Dothem: use the same GIT-CFLAGS when building and installing 2012-08-31 14:18:49 -07:00
Junio C Hamano 67600125e4 Meta/Dothem: do not chdir to something you haven't created yet 2012-06-06 13:55:20 -07:00
Junio C Hamano a109a1a56f Meta/Dothem: honor --force
Disable "A version with the same tree already is installed
somewhere" optimization when the script is run with --force.

Also be careful when crafting "--root=/dev/shm/testpen" option to
the test scripts; on Ubuntu, /dev/shm may be a symbolic link that
points at /run/shm, and "$TRASH_DIRECTORY" and $(pwd) may not match,
causing poorly written tests to fail.
2012-06-03 19:08:02 -07:00
Junio C Hamano 14b270036b Meta/Dothem: further avoid testing the same tree twice 2012-02-26 23:29:04 -08:00
Junio C Hamano 7e62b4a70b Meta/Make, Dothem: use prove test when available 2012-02-23 14:13:35 -08:00
Junio C Hamano 4350a1ca1e Dothem: skip test if we have tested the same tree already 2011-08-08 14:56:10 -07:00
Junio C Hamano fde117a9bf Dothem: older proves do not know --exec 2010-12-08 15:34:34 -08:00
Junio C Hamano 45c52ecdbf Try using prove when available 2010-10-26 23:05:08 -07:00
Junio C Hamano 85ace14c2b Meta/Dothem: --dash option builds only with dash
Earlier one tried to build with /bin/sh and /bin/dash but to do so correctly
we need to 'make clean' in the middle, which is too much overhead to do many
times a day.
2010-01-31 18:26:36 -08:00
Junio C Hamano a8516ddd82 Tweak for OBSD and SunOS 2010-01-06 00:31:20 -08:00
Junio C Hamano 7afa4b4eef Dothem: install html docs as well 2009-12-05 11:35:22 -08:00