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
Describe the bug
When attempting to run unit/coverage tests (SIMULATION=NATIVE, ENABLE_UNIT_TESTS=true) there is a compilation error for the time_UT.c unit test file if the CFE_PLATFORM_TIME_CFG_SRC_MET flag is set to true for the project. The compilation error appears to causes by references to undefined members of the CFE_TIME_Global structure (at minimum these are references to ClockSetState, AtToneMET, AtToneDelay, AtToneLatch, and AtToneMET. After doing a cursory investigation, it looks like these may have been moved to a substructure array ReferenceState, though I'm not certain since the unit test seems to imply they were scalar values but ReferenceState is an array of structs.
To Reproduce
Steps to reproduce the behavior:
Create a fresh cFS build
Change the CFE_PLATFORM_TIME_CFG_SRC_MET to true
Configure with SIMULATION=native, ENABLE_UNIT_TESTS=true
Attempt to build
Expected behavior
the unit tests should build and pass
Code snips
If applicable, add references to the software.
System observed on:
Hardware Intel Xeon
OS: ubuntu 22.4
Versions at least >= 7.0.0-rc4 (confirmed the issue is still present in main)
Additional context
N/A
Reporter Info
Andrew Liounis, NASA/GSFC
The text was updated successfully, but these errors were encountered:
Describe the bug
When attempting to run unit/coverage tests (SIMULATION=NATIVE, ENABLE_UNIT_TESTS=true) there is a compilation error for the time_UT.c unit test file if the CFE_PLATFORM_TIME_CFG_SRC_MET flag is set to true for the project. The compilation error appears to causes by references to undefined members of the CFE_TIME_Global structure (at minimum these are references to
ClockSetState
,AtToneMET
,AtToneDelay
,AtToneLatch
, andAtToneMET
. After doing a cursory investigation, it looks like these may have been moved to a substructure arrayReferenceState
, though I'm not certain since the unit test seems to imply they were scalar values butReferenceState
is an array of structs.To Reproduce
Steps to reproduce the behavior:
Expected behavior
the unit tests should build and pass
Code snips
If applicable, add references to the software.
System observed on:
Additional context
N/A
Reporter Info
Andrew Liounis, NASA/GSFC
The text was updated successfully, but these errors were encountered: