You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IIRC the whole logic behind the separate OS_STATIC_SYMTABLE_SOURCE definition was so that the coverage test could provide its own definition of the static sym table.
It should also (theoretically) be possible to make this a pointer which can be NULL as well, so UT can simply have two test cases, one for NULL and one for non-NULL. I can experiment but I think it is probably doable.
Is your feature request related to a problem? Please describe.
Run time logic for compile time config example:
osal/src/os/shared/src/osapi-module.c
Lines 98 to 100 in cb95655
Full branch coverage of while loop requires both
OS_STATIC_SYMTABLE_SOURCE
set toNULL
and non-NULL.Note by design the build system has a 1 to 1 to 1 relation - code/ut code/test exec, so an extra build would break the pattern.
Describe the solution you'd like
Possibilities:
OS_STATIC_SYMTABLE_SOURCE
definedDescribe alternatives you've considered
None
Additional context
Coverage testing
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: