ci: display error if vpntest failed
@@ -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{
