From ddd01d5699fd0e6a9da5af1da20022250cb6e3eb Mon Sep 17 00:00:00 2001 From: Dan Date: Wed, 24 May 2023 15:24:45 -0400 Subject: [PATCH] Fix #2349, Format update for additional counters in summary --- modules/cfe_assert/src/cfe_assert_io.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/cfe_assert/src/cfe_assert_io.c b/modules/cfe_assert/src/cfe_assert_io.c index 255c6122f..5cfe4f341 100644 --- a/modules/cfe_assert/src/cfe_assert_io.c +++ b/modules/cfe_assert/src/cfe_assert_io.c @@ -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. @@ -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); }