aboutsummaryrefslogtreecommitdiff
path: root/scripts/azure-pipelines/test-modified-ports.ps1
diff options
context:
space:
mode:
authorBilly O'Neal <bion@microsoft.com>2021-07-19 19:55:00 -0700
committerGitHub <noreply@github.com>2021-07-19 19:55:00 -0700
commitb67fab9861239e33b722b9a44f5c96dec6ca807e (patch)
treedf6a8e0c199cb5341c5f3f3632da740e317a30b7 /scripts/azure-pipelines/test-modified-ports.ps1
parentce3caf4515054aa08e8a1068d2cf08bcfebf678b (diff)
downloadvcpkg-b67fab9861239e33b722b9a44f5c96dec6ca807e.tar.gz
vcpkg-b67fab9861239e33b722b9a44f5c96dec6ca807e.zip
Do not emit 'PASSING, REMOVE FROM FAIL LIST' results when using vcpkg to test prerelease versions of MSVC++ (#19011)
Diffstat (limited to 'scripts/azure-pipelines/test-modified-ports.ps1')
-rwxr-xr-xscripts/azure-pipelines/test-modified-ports.ps111
1 files changed, 9 insertions, 2 deletions
diff --git a/scripts/azure-pipelines/test-modified-ports.ps1 b/scripts/azure-pipelines/test-modified-ports.ps1
index 11d98e5ce..e089d7a1c 100755
--- a/scripts/azure-pipelines/test-modified-ports.ps1
+++ b/scripts/azure-pipelines/test-modified-ports.ps1
@@ -29,6 +29,10 @@ this parameter is not set, binary caching will not be used. Example: "files,W:\"
The reason Azure Pipelines is running this script (controls in which mode Binary Caching is used).
If BinarySourceStub is not set, this parameter has no effect. If BinarySourceStub is set and this is
not, binary caching will default to read-write mode.
+
+.PARAMETER PassingIsPassing
+Indicates that 'Passing, remove from fail list' results should not be emitted as failures. (For example, this is used
+when using vcpkg to test a prerelease MSVC++ compiler)
#>
[CmdletBinding(DefaultParameterSetName="ArchivesRoot")]
@@ -47,7 +51,9 @@ Param(
$UseEnvironmentSasToken = $false,
[Parameter(ParameterSetName='BinarySourceStub')]
$BinarySourceStub = $null,
- $BuildReason = $null
+ $BuildReason = $null,
+ [switch]
+ $PassingIsPassing = $false
)
if (-Not ((Test-Path "triplets/$Triplet.cmake") -or (Test-Path "triplets/community/$Triplet.cmake"))) {
@@ -148,4 +154,5 @@ else
}
& "$PSScriptRoot/analyze-test-results.ps1" -logDir $xmlResults `
-triplet $Triplet `
- -baselineFile .\scripts\ci.baseline.txt
+ -baselineFile .\scripts\ci.baseline.txt `
+ -passingIsPassing:$PassingIsPassing