From 315ff5dadc8317d7d8ecc0650bcfe97cf2bb5ac9 Mon Sep 17 00:00:00 2001 From: Dmitrii Golovanov Date: Tue, 1 Apr 2025 10:12:14 +0200 Subject: [PATCH] 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 --- tests/subsys/logging/log_core_additional/src/log_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/subsys/logging/log_core_additional/src/log_test.c b/tests/subsys/logging/log_core_additional/src/log_test.c index 8e09f853323..2479cbe59f6 100644 --- a/tests/subsys/logging/log_core_additional/src/log_test.c +++ b/tests/subsys/logging/log_core_additional/src/log_test.c @@ -278,7 +278,7 @@ ZTEST(test_log_core_additional, test_log_early_logging) LOG_WRN("log warn before backend active"); LOG_ERR("log error before backend active"); - TC_PRINT("Activate backend with context"); + TC_PRINT("Activate backend with context\n"); memset(&backend1_cb, 0, sizeof(backend1_cb)); backend1_cb.total_logs = 3; log_backend_enable(&backend1, &backend1_cb, LOG_LEVEL_DBG); @@ -382,7 +382,7 @@ ZTEST(test_log_core_additional, test_multiple_backends) { int cnt; - TC_PRINT("Test multiple backends"); + TC_PRINT("Test multiple backends\n"); /* enable both backend1 and backend2 */ log_setup(true); STRUCT_SECTION_COUNT(log_backend, &cnt);