Skip to content

Commit

Permalink
Merge pull request nasa#1106 from skliper/fix954-test_w_debug_events
Browse files Browse the repository at this point in the history
Fix nasa#954, Handle debug events in unit test
  • Loading branch information
astrogeco authored Jan 21, 2021
2 parents f9abb48 + d1c5ab0 commit 9f8a776
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fsw/cfe-core/unit-test/evs_UT.c
Original file line number Diff line number Diff line change
Expand Up @@ -2693,7 +2693,7 @@ void Test_Misc(void)
UT_TPID_CFE_EVS_CMD_WRITE_LOG_DATA_FILE_CC,
&UT_EVS_EventBuf);
UT_Report(__FILE__, __LINE__,
UT_EVS_EventBuf.EventID == 0xFFFF,
(UT_EVS_EventBuf.EventID == 0xFFFF) || (UT_EVS_EventBuf.EventID == CFE_EVS_WRLOG_EID),
"CFE_EVS_WriteLogDataFileCmd",
"Write log data - successful");

Expand All @@ -2703,7 +2703,7 @@ void Test_Misc(void)
UT_TPID_CFE_EVS_CMD_SET_LOG_MODE_CC,
&UT_EVS_EventBuf);
UT_Report(__FILE__, __LINE__,
UT_EVS_EventBuf.EventID == 0xFFFF,
(UT_EVS_EventBuf.EventID == 0xFFFF) || (UT_EVS_EventBuf.EventID == CFE_EVS_LOGMODE_EID),
"CFE_EVS_SetLogModeCmd",
"Set logging mode - successful");

Expand Down

0 comments on commit 9f8a776

Please sign in to comment.