[M6] cmd_build auto-resolves missing deps via resolver chain

This commit is contained in:
2026-05-15 13:08:39 +00:00
parent 6c4933f282
commit 9b6014b82d
2 changed files with 32 additions and 2 deletions

View File

@@ -156,7 +156,7 @@ TEST_CASE("cmd_build fails for an unknown dep", "[cli][build]") {
auto r = cmd_build(root, true, false, std::nullopt, overlay_path(parent));
REQUIRE_FALSE(r.has_value());
REQUIRE(r.error().code == ErrorCode::LinkdbUnknownPackage);
REQUIRE(r.error().code == ErrorCode::ResolutionUnknownPackage);
}
TEST_CASE("cmd_build --release writes a release-typed build/CMakeLists",