aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Steadmon <steadmon@google.com>2024-05-06 12:57:37 -0700
committerJunio C Hamano <gitster@pobox.com>2024-05-06 14:06:35 -0700
commitb121eed8d5b933cdba3a6eb802b90455ec8d07b8 (patch)
tree5232415a339bf37e4d634397fe6f19540334cf0b
parentcc75e4a08f7a8e2315cc56c8194c72ea5da785b2 (diff)
downloadgit-b121eed8d5b933cdba3a6eb802b90455ec8d07b8.tar.gz
ci: use test-tool as unit test runner on Windows
Although the previous commit changed t/Makefile to run unit tests alongside shell tests, the Windows CI still needs a separate unit-tests step due to how the test sharding works. We want to avoid using `prove` as a test running on Windows due to performance issues [1], so use the new test-tool runner instead. [1] https://lore.kernel.org/git/850ea42c-f103-68d5-896b-9120e2628686@gmx.de/ Signed-off-by: Josh Steadmon <steadmon@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xci/run-test-slice.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/run-test-slice.sh b/ci/run-test-slice.sh
index ae8094382f..e167e646f7 100755
--- a/ci/run-test-slice.sh
+++ b/ci/run-test-slice.sh
@@ -17,7 +17,7 @@ handle_failed_tests
# We only have one unit test at the moment, so run it in the first slice
if [ "$1" == "0" ] ; then
- group "Run unit tests" make --quiet -C t unit-tests-prove
+ group "Run unit tests" make --quiet -C t unit-tests-test-tool
fi
check_unignored_build_artifacts