-
Notifications
You must be signed in to change notification settings - Fork 236
Description
Is your feature request related to a problem? Please describe.
In nasa/osal#294, The UT assert library is being modified to use a different entry point function name for unit test code, not OS_Application_Startup() as is used for a normal application.
Describe the solution you'd like
The CFE unit tests need to use UtTest_Setup instead.
Describe alternatives you've considered
Any name could work for test setup, but the issue is that it has to be different than that of a normal application. This is so the normal entry point can be provided by UT assert here, allowing better layering.
Additional context
Changing the name of the Test entry point makes more sense because these only use the OSAL BSP but run with the stub library for OSAL itself. It is therefore not really accurate to name the entry point as OS_Application_Startup because this is not an OSAL application at all, it is a unit test.
Requester Info
Joseph Hickey, Vantage Systems, Inc.