git/ci
Patrick Steinhardt bd38ed5be1 ci: fix aggregation of test results with Meson
Our CI needs to be aware of the location of the test output directory so
that it knows where to find test results. Some of our CI jobs achieve
this by setting the `TEST_OUTPUT_DIRECTORY` environment variable, which
ensures that the output will be written to that directory. Other jobs,
especially on GitHub Workflows, don't set that environment variable and
instead expect test results to be located in the source directory in
"t/".

The latter logic does not work with Meson though, as the test results
are not written into the source directory by default, but instead into
the build directory. As such, any job that uses Meson without setting
the environment variable will be unable to locate and aggregate results.

Fix this by explicitly setting the test output directory when we set up
the Meson build directory. Like this, we can easily default to "t/" in
the source directory when the value hasn't been set explicitly.

Reported-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-05-05 14:19:10 -07:00
..
config ci: deprecate ci/config/allow-ref script 2023-08-30 15:56:11 -07:00
util
…
check-directional-formatting.bash ci: unify bash calling convention 2024-07-08 16:23:05 -07:00
check-whitespace.sh check-whitespace: detect if no base_commit is provided 2024-07-23 09:56:50 -07:00
install-dependencies.sh Merge branch 'jc/ci-skip-unavailable-external-software' into maint-2.49 2025-04-24 17:13:31 -07:00
install-sdk.ps1 ci: create script to set up Git for Windows SDK 2024-10-09 11:33:04 -07:00
lib.sh ci: exercise credential helpers 2025-02-20 07:49:52 -08:00
make-test-artifacts.sh ci(github): use grouping also in the `win-build` job 2022-06-13 09:58:41 -07:00
mount-fileshare.sh
…
print-test-failures.sh ci: remove stale code for Azure Pipelines 2025-01-10 09:15:39 -08:00
run-build-and-minimal-fuzzers.sh fuzz: port fuzz-url-decode-mem from OSS-Fuzz 2024-10-16 18:14:11 -04:00
run-build-and-tests.sh ci: fix aggregation of test results with Meson 2025-05-05 14:19:10 -07:00
run-static-analysis.sh
…
run-style-check.sh ci/style-check: add `RemoveBracesLLVM` in CI job 2024-07-23 09:56:50 -07:00
run-test-slice.sh ci: use test-tool as unit test runner on Windows 2024-05-06 14:06:35 -07:00
test-documentation.sh Makefile: refactor GIT-VERSION-GEN to be reusable 2024-12-07 07:52:08 +09:00