testsuite: Align testsuite output
Makes the output easier to read for humans. Signed-off-by: Christoph Reiter <christoph.reiter@infineon.com>
This commit is contained in:
parent
af4ce4a166
commit
88765ad328
1 changed files with 2 additions and 2 deletions
|
@ -105,7 +105,7 @@ static inline const char *TC_RESULT_TO_STR(int result)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef TC_START
|
#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
|
#endif
|
||||||
|
|
||||||
#ifndef TC_END
|
#ifndef TC_END
|
||||||
|
@ -116,7 +116,7 @@ static inline const char *TC_RESULT_TO_STR(int result)
|
||||||
/* prints result and the function name */
|
/* prints result and the function name */
|
||||||
#define Z_TC_END_RESULT(result, func) \
|
#define Z_TC_END_RESULT(result, func) \
|
||||||
do { \
|
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; \
|
PRINT_LINE; \
|
||||||
} while (0)
|
} while (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue