Revert "ci/win: don't use lastexitcode hack on mingw build"

This reverts commit bc43d2559f.

stderr redirection should make the workaround work for mingw builds.
This commit is contained in:
Jan Edmund Lazo 2018-04-13 13:38:31 -04:00
parent 8e87d89a99
commit ad30907814

View File

@ -97,7 +97,6 @@ bin\nvim --version ; exitIfFailed
# Functional tests
# The $LastExitCode from MSBuild can't be trusted
if ($compiler -eq 'MSVC') {
$failed = $false
# Temporarily turn off tracing to reduce log file output
Set-PSDebug -Off
@ -108,11 +107,6 @@ if ($compiler -eq 'MSVC') {
if ($failed) {
exit $LastExitCode
}
}
else {
cmake --build . --config $cmakeBuildType --target functionaltest -- $cmakeGeneratorArgs
exitIfFailed
}
if ($uploadToCodecov) {