diff options
| author | nicole mazzuca <mazzucan@outlook.com> | 2021-09-30 19:52:23 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-30 19:52:23 -0700 |
| commit | 41874992952fffd37c60583391802e29b6f14d86 (patch) | |
| tree | d521982d424493f774f3b5b77b5f6982ee1de1c0 | |
| parent | 7e5cfccf60b545829e35c0cba5e14049487b997d (diff) | |
| download | vcpkg-41874992952fffd37c60583391802e29b6f14d86.tar.gz vcpkg-41874992952fffd37c60583391802e29b6f14d86.zip | |
[macos ci] oops that was a dumb bug (#20448)
| -rwxr-xr-x | scripts/azure-pipelines/test-modified-ports.ps1 | 9 |
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
|
