From 82794b4c64d500b8fb364f341bdb815d37e07ccb Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 14 Mar 2024 14:17:54 +0300 Subject: Add note about test package resolution to rep-fetch.cxx --- bpkg/rep-fetch.cxx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bpkg/rep-fetch.cxx b/bpkg/rep-fetch.cxx index a9886d6..d02a064 100644 --- a/bpkg/rep-fetch.cxx +++ b/bpkg/rep-fetch.cxx @@ -1636,6 +1636,13 @@ namespace bpkg // Go through the available packages that have external tests and add // them as the special test dependencies to these test packages. // + // Note that not being able to resolve the test package for a main + // package is not an error, since the test package absence doesn't + // affect the main package building and internal testing. Dropping of an + // external test package from a repository may, however, be intentional. + // Think of a private repository crafted as a subset of some public + // repository with the external examples packages omitted. + // for (const auto& am: db.query ()) { const shared_ptr& p (am.package); -- cgit v1.1