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
The direct POSIX mapping in posix.c could be retained or removed. If removed, there would be a hard dependency on OSAL and all test programs would also have to be built and linked with OSAL. If preserved, it could simplify certain functional test workflows as the software could then be built on Linux with no external dependencies required. However, this could only simplify certain functional/black box tests. For coverage testing, the OSAL-based build would be required as this provides UT assert as well as coverage stub frameworks.
The text was updated successfully, but these errors were encountered:
Utilize NASA OSAL (https://github.com/nasa/osal) as the preferred option
for OS abstraction. The "bplib_os" calls become simple wrappers around
OSAL functions.
The OSAL package also provides UT assert and stub framework that can be
used for unit testing.
jphickey
added a commit
to jphickey/bplib
that referenced
this issue
Oct 17, 2022
Utilize NASA OSAL (https://github.com/nasa/osal) as the preferred option
for OS abstraction. The "bplib_os" calls become simple wrappers around
OSAL functions.
The OSAL package also provides UT assert and stub framework that can be
used for unit testing.
The latest OSAL mainline has support for condition variables and therefore should support all BPLib requirements of the OS.
The embedded "os" calls at https://github.com/nasa/bplib/blob/main/inc/bplib_os.h should be mapped to the corresponding OSAL function. This would largely replace/supplant the existing
cfe.c
implementation.The direct POSIX mapping in
posix.c
could be retained or removed. If removed, there would be a hard dependency on OSAL and all test programs would also have to be built and linked with OSAL. If preserved, it could simplify certain functional test workflows as the software could then be built on Linux with no external dependencies required. However, this could only simplify certain functional/black box tests. For coverage testing, the OSAL-based build would be required as this provides UT assert as well as coverage stub frameworks.The text was updated successfully, but these errors were encountered: