This PR adds desiutil.depend.mergedep as a utility function to merge DEPNAMnn + DEPVERnn dependencies+versions from one header into another. We messed this up with the blanc run by simply copying header keywords from one to the other, resulting in the same DEPNAMnn being listed more than once for different dependencies. This mergedep function takes care of rearranging numbers as needed. See the tests for examples.
Coverage increased (+0.2%) to 68.046% when pulling 4d6af273b2b2c77dd1f6e2ac42e46dd90868eb3e on mergedeps into 9581e6ec591ccb78b868467ade2a69eed12f3503 on master.
This PR adds
desiutil.depend.mergedep
as a utility function to merge DEPNAMnn + DEPVERnn dependencies+versions from one header into another. We messed this up with the blanc run by simply copying header keywords from one to the other, resulting in the sameDEPNAMnn
being listed more than once for different dependencies. Thismergedep
function takes care of rearranging numbers as needed. See the tests for examples.