From 2fa28480f94e47b420bacbdb2c465a8581aeac1a Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Sun, 4 Aug 2019 14:42:52 +0500 Subject: [PATCH] ci: display error if vpntest failed --- .ci/appveyor-vpntest.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.ci/appveyor-vpntest.ps1 b/.ci/appveyor-vpntest.ps1 index d27d5c1f..60177c2b 100644 --- a/.ci/appveyor-vpntest.ps1 +++ b/.ci/appveyor-vpntest.ps1 @@ -6,9 +6,11 @@ $ErrorActionPreference = 'Stop' [String] $mode = $_ Write-Host "testing: $mode" - $t = (Write-Output "q\n" | & .\build\vpntest.exe $mode | Select-String -Pattern 'NO MEMORY LEAKS' -CaseSensitive) + $full = (Write-Output "q\n" | & .\build\vpntest.exe $mode) + $t = ($full | Select-String -Pattern 'NO MEMORY LEAKS' -CaseSensitive) if( ($t).Count -ne 1){ + $full Write-Error 'failed' return $false }else{