Hi, this small patch series wires up Meson into our CI systems. The intent is to ensure that it does not regress in functionality as the Git code base evolves. To help with keeping it up-to-date, both Meson and our Makefiles learn to detect missing or superseded test files in "t/meson.build". This should give users an early notification in case they have to add a newly added or removed test to these build instructions. Overall I think that this shouldn't be too much of a burden given that adding a new test is trivial. One gap that still exists is newly added code files. Due to many sources being added to the build conditionally it's hard to have generic checks for these. So I refrain from doing so in this series -- the build would already fail anyway when we're missing code, so at least we will know that something is up. The series is built on top of caacdb5dfd (The fifteenth batch, 2024-12-10) with ps/build at 904339edbd (Introduce support for the Meson build system, 2024-12-06) and cw/worktree-extension at 2037ca85ad (worktree: refactor `repair_worktree_after_gitdir_move()`, 2024-11-29) merged into it. Thanks! Patrick --- Patrick Steinhardt (8): ci/lib: support custom output directories when creating test artifacts Makefile: drop -DSUPPRESS_ANNOTATED_LEAKS t/unit-tests: rename clar-based unit tests to have a common prefix meson: detect missing tests at configure time Makefile: detect missing Meson tests t: fix out-of-tree tests for some git-p4 tests t: introduce compatibility options to clar-based tests ci: wire up Meson builds .github/workflows/main.yml | 7 ++++ .gitlab-ci.yml | 9 ++++++ Makefile | 5 ++- ci/install-dependencies.sh | 7 ++++ ci/lib.sh | 14 ++++---- ci/print-test-failures.sh | 2 +- ci/run-build-and-tests.sh | 31 ++++++++++++++---- meson.build | 1 - parse-options.h | 12 +++++++ t/Makefile | 18 ++++++++++- t/meson.build | 40 +++++++++++++++++++++-- t/t9835-git-p4-metadata-encoding-python2.sh | 48 ++++++++++++++------------- t/t9836-git-p4-metadata-encoding-python3.sh | 50 ++++++++++++++--------------- t/unit-tests/generate-clar-decls.sh | 5 ++- t/unit-tests/{ctype.c => u-ctype.c} | 0 t/unit-tests/{strvec.c => u-strvec.c} | 0 t/unit-tests/unit-test.c | 19 ++++++++++- 17 files changed, 196 insertions(+), 72 deletions(-) --- base-commit: 2fcbf72f13e8ce3bf1cda9a689f392f8f6e5c65d change-id: 20241129-pks-meson-ci-ba1e40652fbe