Skip to content

Commit 315ff5d

Browse files
golowanowkartben
authored andcommitted
tests: logging: logging.thread: add missed LF in logs
Add missed line feed chars at the test's output to fix Ztest's following status messages corrupted. Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
1 parent 125de99 commit 315ff5d

File tree

1 file changed

+2
-2
lines changed
  • tests/subsys/logging/log_core_additional/src

1 file changed

+2
-2
lines changed

tests/subsys/logging/log_core_additional/src/log_test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ ZTEST(test_log_core_additional, test_log_early_logging)
278278
LOG_WRN("log warn before backend active");
279279
LOG_ERR("log error before backend active");
280280

281-
TC_PRINT("Activate backend with context");
281+
TC_PRINT("Activate backend with context\n");
282282
memset(&backend1_cb, 0, sizeof(backend1_cb));
283283
backend1_cb.total_logs = 3;
284284
log_backend_enable(&backend1, &backend1_cb, LOG_LEVEL_DBG);
@@ -382,7 +382,7 @@ ZTEST(test_log_core_additional, test_multiple_backends)
382382
{
383383
int cnt;
384384

385-
TC_PRINT("Test multiple backends");
385+
TC_PRINT("Test multiple backends\n");
386386
/* enable both backend1 and backend2 */
387387
log_setup(true);
388388
STRUCT_SECTION_COUNT(log_backend, &cnt);

0 commit comments

Comments
 (0)