aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-10-20 15:49:33 -0400
committerJustin M. Keyes <justinkz@gmail.com>2018-10-22 01:28:02 +0200
commit57ff96be8eb4fd920fbf6dfc231b3a244390f75e (patch)
tree8b330a6d20d12857bfd384ba2fc7dacd4937a3c4
parent565bbd1485a4c884dbfdb65b8b1c04a0c5da6b3e (diff)
downloadrneovim-57ff96be8eb4fd920fbf6dfc231b3a244390f75e.tar.gz
rneovim-57ff96be8eb4fd920fbf6dfc231b3a244390f75e.tar.bz2
rneovim-57ff96be8eb4fd920fbf6dfc231b3a244390f75e.zip
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.
-rw-r--r--ci/build.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/build.ps1 b/ci/build.ps1
index bb4d3a9b23..c82a74714c 100644
--- a/ci/build.ps1
+++ b/ci/build.ps1
@@ -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