aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/azure-pipelines/test-modified-ports.ps19
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/azure-pipelines/test-modified-ports.ps1 b/scripts/azure-pipelines/test-modified-ports.ps1
index 46ea637dc..d837dbb62 100755
--- a/scripts/azure-pipelines/test-modified-ports.ps1
+++ b/scripts/azure-pipelines/test-modified-ports.ps1
@@ -133,9 +133,12 @@ if ($null -ne $OnlyTest)
$OnlyTest | % {
$portName = $_
& "./vcpkg$executableExtension" install --triplet $Triplet @commonArgs $portName
- [System.Console]::Error.WriteLine( `
- "REGRESSION: ${portName}:$triplet. If expected, remove ${portName} from the OnlyTest list." `
- )
+ if (-not $?)
+ {
+ [System.Console]::Error.WriteLine( `
+ "REGRESSION: ${portName}:$triplet. If expected, remove ${portName} from the OnlyTest list." `
+ )
+ }
}
}
else