[M5+] drop curated linkdb JSON; SQLite overlay is the single source
This commit is contained in:
@@ -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]") {
|
||||
|
||||
Reference in New Issue
Block a user