diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-03-14 14:17:54 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-03-14 14:19:06 +0300 |
commit | 82794b4c64d500b8fb364f341bdb815d37e07ccb (patch) | |
tree | 4ff32b606366349c85ab35321173af2d7cf35e76 | |
parent | 8bb949f8ab3795d41f8c1fe8afb01176a1cbb189 (diff) |
Add note about test package resolution to rep-fetch.cxx
-rw-r--r-- | bpkg/rep-fetch.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
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<available_main> ()) { const shared_ptr<available_package>& p (am.package); |