From 22459c28438b7c7982acee4cb17eabce02798a58 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 15:44:16 +0800 Subject: [PATCH 1/2] utest: fixed UTEST_DEVICE_TC In 01e015450f, "utest: move driver-related case under to drivers," UTEST_DEVICE_TC was replaced with RT_UTEST_DRIVERS_CORE. However, some files are forgot to do this replacement, so this patch address this. Note: In .config, lines like "# CONFIG_XXX is not set" do not need to be modified; they are comments. Furthermore, for BSPs, running "scons --menuconfig" and save the config will automatically replace them. Therefore, no modification is necessary in this case. Signed-off-by: Chen Wang --- examples/utest/configs/kernel/kernel_basic.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/utest/configs/kernel/kernel_basic.cfg b/examples/utest/configs/kernel/kernel_basic.cfg index 571cebde44f..5d547aae7d0 100644 --- a/examples/utest/configs/kernel/kernel_basic.cfg +++ b/examples/utest/configs/kernel/kernel_basic.cfg @@ -5,7 +5,7 @@ CONFIG_RT_USING_CI_ACTION=y CONFIG_UTEST_OBJECT_TC=y CONFIG_UTEST_IRQ_TC=y CONFIG_UTEST_THREAD_TC=y -CONFIG_UTEST_DEVICE_TC=y +CONFIG_RT_UTEST_DRIVERS_CORE=y CONFIG_UTEST_ATOMIC_TC=y CONFIG_UTEST_HOOKLIST_TC=y CONFIG_UTEST_MTSAFE_KPRINT_TC=y From 84ec50ad1e74e2768b1fb3d196bffef43e40e333 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 15:50:58 +0800 Subject: [PATCH 2/2] utest: fixed UTEST_SMP_CALL_FUNC In 66448d9e96 "utest: smp_call: move from example to components/drivers/smp_call" UTEST_SMP_CALL_FUNC was replaced with RT_UTEST_SMP_CALL_FUNC. However, some files are forgot to do this replacement, so this patch address this. Note: In .config, lines like "# CONFIG_XXX is not set" do not need to be modified; they are comments. Furthermore, for BSPs, running "scons --menuconfig" and save the config will automatically replace them. Therefore, no modification is necessary in this case. Signed-off-by: Chen Wang --- bsp/rockchip/rk3500/.config | 2 +- bsp/rockchip/rk3500/rtconfig.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/rockchip/rk3500/.config b/bsp/rockchip/rk3500/.config index 7284b2397fa..3bed97e9530 100644 --- a/bsp/rockchip/rk3500/.config +++ b/bsp/rockchip/rk3500/.config @@ -684,7 +684,7 @@ CONFIG_RT_USING_UTESTCASES=y # # SMP-Call Testcase # -CONFIG_UTEST_SMP_CALL_FUNC=y +CONFIG_RT_UTEST_SMP_CALL_FUNC=y # end of SMP-Call Testcase # end of RT-Thread Utestcases diff --git a/bsp/rockchip/rk3500/rtconfig.h b/bsp/rockchip/rk3500/rtconfig.h index 8906353fb23..cfeef3e7058 100644 --- a/bsp/rockchip/rk3500/rtconfig.h +++ b/bsp/rockchip/rk3500/rtconfig.h @@ -448,7 +448,7 @@ /* SMP-Call Testcase */ -#define UTEST_SMP_CALL_FUNC +#define RT_UTEST_SMP_CALL_FUNC /* end of SMP-Call Testcase */ /* end of RT-Thread Utestcases */