diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-05-30 20:53:16 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-05-30 20:53:16 +0300 |
commit | a577cee06a80161cab0e628143a57c58cbe1c094 (patch) | |
tree | 099cd10973182b2075f92506baf8a6764ef3f214 /bpkg | |
parent | 92c607c2ca6960254e69afafc79ea437e0e81942 (diff) |
Add some more tests
Diffstat (limited to 'bpkg')
-rw-r--r-- | bpkg/pkg-build.cxx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/bpkg/pkg-build.cxx b/bpkg/pkg-build.cxx index 19ce716..e67cbb1 100644 --- a/bpkg/pkg-build.cxx +++ b/bpkg/pkg-build.cxx @@ -652,8 +652,8 @@ namespace bpkg // recursive collection is started (see postponed_configurations for // details). // - // Note that the skeleton member cannot be used for that purpose since it - // is not always created (think of a system dependency or an existing + // Note that the dependencies member cannot be used for that purpose since + // it is not always created (think of a system dependency or an existing // dependency that doesn't need its prerequisites re-collection). In a // sense the recursive collection flag is a barrier for the dependency // configuration negotiation. @@ -2867,8 +2867,14 @@ namespace bpkg // The being re-evaluated dependent cannot be recursively collected yet. // Also, we don't expect it being configured as system. // + // Note, the configured package can still be re-evaluated after + // collect_build_prerequisites() has been called but didn't end up with + // the recursive collection. + // assert (!reeval || - (!pkg.recursive_collection && !pkg.skeleton && !pkg.system)); + ((!pkg.recursive_collection || + !pkg.recollect_recursively (rpt_depts)) && + !pkg.skeleton && !pkg.system)); // If this package is not being re-evaluated, is not yet collected // recursively, needs to be reconfigured, and is not yet postponed, then |