Skip to content

The "sample_app" should call into "sample_lib" #23

@jphickey

Description

@jphickey

Is your feature request related to a problem? Please describe.
The sample_app only calls CFE functions; it does not call any OSAL, PSP, or additional library functions like a real app might do.

This makes a difference for Unit Testing. The framework should contain a useful example of UT for apps and libs (related to #21) and the example would be more useful if it called something other than CFE.

Describe the solution you'd like
The sample_app should invoke the SAMPLE_Function as provided in the example sample_lib library.

Describe alternatives you've considered
N/A

Additional context
This change would demonstrate two things:

  • demonstrate at runtime that the dynamic linking worked correctly for the libraries (i.e. an app can successfully call into a lib like it is supposed to)
  • demonstrate linking to the stubs provided by the library for unit testing

Requester Info
Joseph Hickey, Vantage Systems, Inc.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions