CI/AppVeyor: fix MSBuild hack for functional tests

PR #9087 changed the error string by removing 'Running', breaking the
MSBuild hack detecting failure for functional tests. If stdout or stderr
has a line with 'functional tests failed with error', fail the build.
This commit is contained in:
Jan Edmund Lazo 2018-10-20 15:49:33 -04:00 committed by Justin M. Keyes
parent 565bbd1485
commit 57ff96be8e
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ $failed = $false
Set-PSDebug -Off
cmake --build . --config $cmakeBuildType --target functionaltest -- $cmakeGeneratorArgs 2>&1 |
foreach { $failed = $failed -or
$_ -match 'Running functional tests failed with error'; $_ }
$_ -match 'functional tests failed with error'; $_ }
Set-PSDebug -Trace 1
if ($failed) {
exit $LastExitCode