Merge pull request #10453 from Icinga/gha-windows-ctest-fix-212

GHA: Unbreak Windows Tests
This commit is contained in:
Alexander Aleksandrovič Klimov 2025-05-22 11:48:31 +02:00 committed by GitHub
commit d6f119c0c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,7 +24,7 @@ if (-not ($env:PATH -contains $env:CMAKE_PATH)) {
cd "$env:ICINGA2_BUILDPATH" cd "$env:ICINGA2_BUILDPATH"
ctest.exe -C "${env:CMAKE_BUILD_TYPE}" -T test -O $env:ICINGA2_BUILDPATH/Test.xml --output-on-failure --log_level=all ctest.exe -C "${env:CMAKE_BUILD_TYPE}" -T test -O $env:ICINGA2_BUILDPATH/Test.xml --output-on-failure
if ($lastexitcode -ne 0) { if ($lastexitcode -ne 0) {
cd .. cd ..
exit $lastexitcode exit $lastexitcode