-
Notifications
You must be signed in to change notification settings - Fork 253
Labels
enhancementunit-testTickets related to the OSAL unit testing (functional and/or coverage)Tickets related to the OSAL unit testing (functional and/or coverage)
Milestone
Description
Is your feature request related to a problem? Please describe.
The current UT assert is designed to be statically linked as an OSAL application.
To support a CFE functional test environment that uses the same UT assert reporting methods, the library should offer a target that can be linked as loadable module.
Describe the solution you'd like
The differences are:
- Compile as position independent code (PIC) so it can be linked into a dynamic module.
- Separate out the OS_Application_Startup and OS_Application_Run - as this will be loaded into a larger app, not a standalone app, and these symbols are already defined.
- Consolidate global variables into a common structure and make early init/reset of these variables into a separate routine from OS_Application_Startup.
Additional context
This dynamically-loadable variant can be a separate target, so it shouldn't change anything about the existing apps/tests that link with the existing static "ut_assert" library.
Requester Info
Joseph Hickey, Vantage Systems, Inc.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementunit-testTickets related to the OSAL unit testing (functional and/or coverage)Tickets related to the OSAL unit testing (functional and/or coverage)