From 88765ad3282ce830bda8745b409538a0bcdeaf6a Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Tue, 2 Jun 2020 11:38:08 +0200 Subject: [PATCH] testsuite: Align testsuite output Makes the output easier to read for humans. Signed-off-by: Christoph Reiter --- subsys/testsuite/include/tc_util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subsys/testsuite/include/tc_util.h b/subsys/testsuite/include/tc_util.h index 68efef040c3..a4a9314bb57 100644 --- a/subsys/testsuite/include/tc_util.h +++ b/subsys/testsuite/include/tc_util.h @@ -105,7 +105,7 @@ static inline const char *TC_RESULT_TO_STR(int result) #endif #ifndef TC_START -#define TC_START(name) PRINT_DATA("starting test - %s\n", name) +#define TC_START(name) PRINT_DATA("START - %s\n", name) #endif #ifndef TC_END @@ -116,7 +116,7 @@ static inline const char *TC_RESULT_TO_STR(int result) /* prints result and the function name */ #define Z_TC_END_RESULT(result, func) \ do { \ - TC_END(result, "%s - %s\n", TC_RESULT_TO_STR(result), func); \ + TC_END(result, " %s - %s\n", TC_RESULT_TO_STR(result), func); \ PRINT_LINE; \ } while (0) #endif