Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920243 - Test coverage: preserved-libs and LinkageMapElf
Summary: Test coverage: preserved-libs and LinkageMapElf
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 920241
  Show dependency tree
 
Reported: 2023-12-18 05:11 UTC by Sam James
Modified: 2023-12-18 05:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-18 05:11:13 UTC
preserve-libs is historically one of these kind of scary areas of Portage because we have to do some careful evaluation of ELF dependencies while eliminating circular dependencies & accounting for bundled deps.

Zac rightly mentioned we could do better with tests here in bug 521968 (https://bugs.gentoo.org/521968#c15):
>I plan to create unit tests that call the doebuild function using a mock derived from LinkageMapELF. This will allow for efficient testing of changes and detection of regressions.