Skip to content

Commit

Permalink
Fix #2349, Format update for additional counters in summary
Browse files Browse the repository at this point in the history
  • Loading branch information
dmknutsen committed May 25, 2023
1 parent b429d91 commit ddd01d5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions modules/cfe_assert/src/cfe_assert_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ void UT_BSP_DoText(uint8 MessageType, const char *OutputMessage)

void UT_BSP_EndTest(const UtAssert_TestCounter_t *TestCounters)
{

CFE_ES_WriteToSysLog("TEST COMPLETE: %u tests Segment(s) executed\n\n",
(unsigned int)TestCounters->TestSegmentCount);

/*
* Only output a "summary" if there is more than one test Segment.
* Otherwise it is a duplicate of the report already given.
Expand All @@ -134,7 +138,4 @@ void UT_BSP_EndTest(const UtAssert_TestCounter_t *TestCounters)
{
UtAssert_DoTestSegmentReport("SUMMARY", TestCounters);
}

CFE_ES_WriteToSysLog("TEST COMPLETE: %u tests Segment(s) executed\n\n",
(unsigned int)TestCounters->TestSegmentCount);
}

0 comments on commit ddd01d5

Please sign in to comment.