You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: azure-pipelines/end-to-end-tests-dir/ci.ps1
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,18 @@ if (-not ($ErrorOutput.Contains("REGRESSION: dep-on-feature-not-sup:${Triplet} i
27
27
throw"feature-not-sup's baseline fail entry should result in a regression because the port is cascade for this triplet"
28
28
}
29
29
30
+
# pass means pass
31
+
$Output= Run-VcpkgAndCaptureOutput ci --dry-run --triplet=$Triplet--x-builtin-ports-root="$PSScriptRoot/../e2e-ports/ci"--binarysource=clear --ci-baseline="$PSScriptRoot/../e2e-assets/ci/ci.baseline.txt"
32
+
Throw-IfNotFailed
33
+
$ErrorOutput= Run-VcpkgAndCaptureStdErr ci --dry-run --triplet=$Triplet--x-builtin-ports-root="$PSScriptRoot/../e2e-ports/ci"--binarysource=clear --ci-baseline="$PSScriptRoot/../e2e-assets/ci/ci.pass.baseline.txt"
34
+
Throw-IfNotFailed
35
+
if (-not ($ErrorOutput.Contains("REGRESSION: not-sup-host-b:${Triplet} is marked as pass but not supported for ${Triplet}."))) {
36
+
throw"feature-not-sup's baseline pass entry should result in a regression because the port is not supported"
37
+
}
38
+
if (-not ($ErrorOutput.Contains("REGRESSION: dep-on-feature-not-sup:${Triplet} is marked as pass but one dependency is not supported for ${Triplet}."))) {
39
+
throw"feature-not-sup's baseline pass entry should result in a regression because the port is cascade for this triplet"
40
+
}
41
+
30
42
# any invalid manifest must raise an error
31
43
$Output= Run-VcpkgAndCaptureOutput ci --dry-run --triplet=$Triplet--x-builtin-ports-root="$PSScriptRoot/../e2e-ports/broken-manifests"--binarysource=clear --ci-baseline="$PSScriptRoot/../e2e-assets/ci/ci.baseline.txt"
0 commit comments