Skip to content

Commit

Permalink
Merge pull request #2350 from dmknutsen/Issue_2349
Browse files Browse the repository at this point in the history
Fix #2349, Format update for additional counters in summary
  • Loading branch information
dzbaker committed May 26, 2023
2 parents b429d91 + ddd01d5 commit 5ece8a6
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 5ece8a6

Please sign in to comment.