Skip to content

Commit e9487f1

Browse files
authored
Fix stealth merge conflict (#904)
* Fix stealth merge conflict Between #856 and #899 * Oops, one more e2e test format SNAFU
1 parent 2f3a6b4 commit e9487f1

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed
+1-13
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
. $PSScriptRoot/../end-to-end-tests-prelude.ps1
22

3-
# Not a number
4-
Run-Vcpkg ci --dry-run --triplet=$Triplet --x-skipped-cascade-count=fish
5-
Throw-IfNotFailed
6-
7-
# Negative
8-
Run-Vcpkg ci --dry-run --triplet=$Triplet --x-skipped-cascade-count=-1
9-
Throw-IfNotFailed
10-
11-
# Clearly not the correct answer
12-
Run-Vcpkg ci --dry-run --triplet=$Triplet --x-skipped-cascade-count=1000
13-
Throw-IfNotFailed
14-
153
# test skipped ports
164
$Output = Run-VcpkgAndCaptureOutput ci --dry-run --triplet=$Triplet --x-builtin-ports-root="$PSScriptRoot/../e2e_ports/ci" --binarysource=clear
175
Throw-IfFailed
@@ -26,4 +14,4 @@ if (-not ($Output.Contains("feature-not-sup:${Triplet}: *"))) {
2614
}
2715
if ($Output.Split("*").Length -ne 3) {
2816
throw 'base-port should not be installed for the host'
29-
}
17+
}

src/vcpkg/commands.ci.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ namespace vcpkg::Commands::CI
180180

181181
const auto applicable_specs = Util::filter(specs, [&](auto& spec) -> bool {
182182
return create_feature_install_plan(provider, var_provider, {&spec, 1}, {}, serialize_options)
183-
.warnings.empty();
183+
.unsupported_features.empty();
184184
});
185185

186186
auto action_plan = create_feature_install_plan(provider, var_provider, applicable_specs, {}, serialize_options);
@@ -463,13 +463,13 @@ namespace vcpkg::Commands::CI
463463
supp ? BuildResult::CASCADED_DUE_TO_MISSING_DEPENDENCIES
464464
: BuildResult::EXCLUDED);
465465
if (supp) ++split_specs->cascade_count;
466-
msg += Strings::format("%40s: %8s\n", spec.package_spec, supp ? "cascade" : "skip");
466+
msg += fmt::format("{:>40}: {:>8}\n", spec.package_spec, supp ? "cascade" : "skip");
467467
}
468468
}
469469
for (size_t i = 0; i < action_plan.install_actions.size(); ++i)
470470
{
471471
auto&& action = action_plan.install_actions[i];
472-
msg += fmt::format("{:40}: {:8}: {}\n",
472+
msg += fmt::format("{:>40}: {:>8}: {}\n",
473473
action.spec,
474474
split_specs->action_state_string[i],
475475
action.abi_info.value_or_exit(VCPKG_LINE_INFO).package_abi);

0 commit comments

Comments
 (0)