Skip to content

Commit 9cf1498

Browse files
committed
cmake: align CTest definition with Git's CI runs
In Git's CI runs, the Windows tests are run with `--no-bin-wrappers` and `--no-chain-lint`, mainly to win back some time caused by the serious performance penalty paid for the tests relying so heavily on POSIX shell scripting, which only works by using a POSIX emulation layer. Let's do the same when running the tests, say, in Visual Studio. While at it, enable the command trace via `-x` and verbose output via `-v`, otherwise it would be near impossible to diagnose any problems. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent bbea4dc commit 9cf1498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/buildsystems/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ file(GLOB test_scipts "${CMAKE_SOURCE_DIR}/t/t[0-9]*.sh")
10881088
#test
10891089
foreach(tsh ${test_scipts})
10901090
add_test(NAME ${tsh}
1091-
COMMAND ${SH_EXE} ${tsh}
1091+
COMMAND ${SH_EXE} ${tsh} --no-bin-wrappers --no-chain-lint -vx
10921092
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/t)
10931093
endforeach()
10941094

0 commit comments

Comments
 (0)