From 006b97de13a49eec05cbca20fcb0aad63f25eb23 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 26 Mar 2019 12:04:03 -0400 Subject: [PATCH] tests: no-multithreading: do not report success twice We are reporting success twice, once by calling macro directly, and once by using ztest test_main(). Signed-off-by: Anas Nashif --- tests/kernel/threads/no-multithreading/src/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/kernel/threads/no-multithreading/src/main.c b/tests/kernel/threads/no-multithreading/src/main.c index b39bf59bfce..d4d4d986718 100644 --- a/tests/kernel/threads/no-multithreading/src/main.c +++ b/tests/kernel/threads/no-multithreading/src/main.c @@ -4,7 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ #include -#include /* The only point to CONFIG_MULTITHREADING=n is to use Zephyr's * multiplatform toolchain, linkage and boostrap integration to arrive @@ -15,6 +14,5 @@ */ void test_main(void) { - TC_PRINT("It works\n"); - TC_END_REPORT(TC_PASS); + printk("It works\n"); }