]> git.ipfire.org Git - thirdparty/git.git/commit
ci(visual-studio): actually run the tests in parallel
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 21 Oct 2019 19:59:58 +0000 (19:59 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 Oct 2019 02:02:59 +0000 (11:02 +0900)
commit399c23c046fc40cc3637d7e3688dcbe31b27a030
treeebd5a0c3bf3c3812985742554c2d3649858eb177
parent711cd6d15cf9394d1aa0f78c68a7a39b3bb23509
ci(visual-studio): actually run the tests in parallel

Originally, the CI/PR builds that build and test using Visual Studio
were implemented imitating `linux-clang`, i.e. still using the
`Makefile`-based build infrastructure.

Later (but still before the patches made their way into git.git's
`master`), however, this was changed to generate Visual Studio project
files and build the binaries using `MSBuild`, as this reflects more
accurately how Visual Studio users would want to build Git (internally,
Visual Studio uses `MSBuild`, or at least something very similar).

During that transition, we needed to implement a new way to run the test
suite in parallel, as Visual Studio users typically will only have a Git
Bash available (which does not ship with `make` nor with support for
`prove`): we simply implemented a new test helper to run the test suite.

This helper even knows how to run the tests in parallel, but due to a
mistake on this developer's part, it was never turned on in the CI/PR
builds. This results in 2x-3x longer run times of the test phase.

Let's use the `--jobs=10` option to fix this.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
azure-pipelines.yml