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
$Output= Run-VcpkgAndCaptureOutput ci @commonArgs--x-builtin-ports-root="$PSScriptRoot/../e2e-ports/ci"--binarysource="clear;files,$ArchiveRoot"--parent-hashes="$TestingRoot/parent-hashes.json"
86
89
Throw-IfFailed
87
90
if ($Output.Contains("base-port:${Triplet}: SUCCEEDED:")) {
88
91
throw'base-port must not be rebuilt again'
89
92
}
93
+
94
+
# With parent-hashes, test detection of regressions of independent ports.
# A dry run in order to determine all parent hashes without failing, regression@1
100
+
$Output= Run-VcpkgAndCaptureOutput ci --dry-run @commonArgs--x-builtin-ports-root="$PSScriptRoot/../e2e-ports/ci"--binarysource="clear;files,$ArchiveRoot"--output-hashes="$TestingRoot/parent-hashes.json"--overlay-ports="$PSScriptRoot/../e2e-ports/ci-independent-regression/v1"
$Output= Run-VcpkgAndCaptureOutput ci @commonArgs--x-builtin-ports-root="$PSScriptRoot/../e2e-ports/ci"--binarysource="clear;files,$ArchiveRoot"--parent-hashes="$TestingRoot/parent-hashes.json"--overlay-ports="$PSScriptRoot/../e2e-ports/ci-independent-regression/v2"
106
+
Throw-IfNotFailed
107
+
if ($Output.Contains("base-port:${Triplet}: SUCCEEDED:")) {
108
+
throw'base-port must not be rebuilt again'
109
+
}
110
+
if (-not ($Output.Contains("feature-fails:${Triplet}: BUILD_FAILED:"))) {
111
+
throw'feature-fails[fail] build must fail'
112
+
}
113
+
if (-not ($Output.Contains("regression:${Triplet}: CASCADED_DUE_TO_MISSING_DEPENDENCIES:"))) {
0 commit comments