[M5+] drop curated linkdb JSON; SQLite overlay is the single source

This commit is contained in:
2026-05-13 23:28:36 +00:00
parent 5db915e576
commit 653b9fbb8d
12 changed files with 193 additions and 656 deletions

View File

@@ -94,13 +94,11 @@ TEST_CASE("verify_link rolls the provisional row back when the build fails",
REQUIRE_FALSE(r.has_value());
REQUIRE(r.error().code == cargoxx::util::ErrorCode::BuildCmakeFailed);
// The conan-source row must be gone; resolve falls through to the
// curated linkdb (which has its own fmt recipe with source = "curated").
auto db = Database::open(req.overlay_path);
REQUIRE(db.has_value());
auto rec = db->resolve("fmt", "10.2.0", {});
REQUIRE(rec.has_value());
REQUIRE(rec->source == "curated");
REQUIRE_FALSE(rec.has_value());
REQUIRE(rec.error().code == cargoxx::util::ErrorCode::LinkdbUnknownPackage);
}
TEST_CASE("verify_link cleans up its scratch project", "[resolver][verify_link]") {