]> git.ipfire.org Git - thirdparty/git.git/commitdiff
ci: use test-tool as unit test runner on Windows
authorJosh Steadmon <steadmon@google.com>
Mon, 6 May 2024 19:57:37 +0000 (12:57 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 May 2024 21:06:35 +0000 (14:06 -0700)
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>
ci/run-test-slice.sh

index ae8094382fe418dbd807dbc2156e16b814aa2adc..e167e646f79e3df3d81fcb26cf61e6ec47d3ecc4 100755 (executable)
@@ -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