Skip to content
Snippets Groups Projects
Commit 159e25c9 authored by Lars Bilke's avatar Lars Bilke
Browse files

[ci] Explicitly return ctest exit code on win.

parent e253882f
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,11 @@
if($env:BUILD_CTEST -eq "true" -And $ctest_condition -eq $true)
{
ctest --preset=$env:CMAKE_PRESET -LE large --output-junit Tests/ctest.xml -M Experimental --group $ctest_group --test-dir $build_directory_full -T Test --no-tests=error
$ctestExitCode = $LASTEXITCODE
ctest --test-dir $build_directory_full -T submit; $null
if ($ctestExitCode -ne 0) {
exit $ctestExitCode
}
}
- |
if($env:CHECK_WARNINGS -eq "true" -and (cat $log_file | Select-String -Pattern ': warning') )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment