Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 920243

Summary: Test coverage: preserved-libs and LinkageMapElf
Product: Portage Development Reporter: Sam James <sam>
Component: CoreAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=521968
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 920241    

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.