diff --git a/bsp/nuvoton/ma35-rtp/.config b/bsp/nuvoton/ma35-rtp/.config index 1fceb8040e..06898c33dc 100644 --- a/bsp/nuvoton/ma35-rtp/.config +++ b/bsp/nuvoton/ma35-rtp/.config @@ -400,7 +400,7 @@ CONFIG_RT_USING_UTESTCASES=y # # Utest Self Testcase # -CONFIG_UTEST_SELF_PASS_TC=y +CONFIG_RT_UTEST_SELF_PASS=y # end of Utest Self Testcase # diff --git a/bsp/nuvoton/ma35-rtp/rtconfig.h b/bsp/nuvoton/ma35-rtp/rtconfig.h index b8579830ea..e73c1b4c15 100644 --- a/bsp/nuvoton/ma35-rtp/rtconfig.h +++ b/bsp/nuvoton/ma35-rtp/rtconfig.h @@ -217,7 +217,7 @@ /* Utest Self Testcase */ -#define UTEST_SELF_PASS_TC +#define RT_UTEST_SELF_PASS /* end of Utest Self Testcase */ /* Kernel Testcase */ diff --git a/bsp/nuvoton/numaker-hmi-ma35d1/.config b/bsp/nuvoton/numaker-hmi-ma35d1/.config index 13cb964460..402b74a29d 100644 --- a/bsp/nuvoton/numaker-hmi-ma35d1/.config +++ b/bsp/nuvoton/numaker-hmi-ma35d1/.config @@ -605,7 +605,7 @@ CONFIG_RT_USING_UTESTCASES=y # # Utest Self Testcase # -CONFIG_UTEST_SELF_PASS_TC=y +CONFIG_RT_UTEST_SELF_PASS=y # end of Utest Self Testcase # diff --git a/bsp/nuvoton/numaker-hmi-ma35d1/rtconfig.h b/bsp/nuvoton/numaker-hmi-ma35d1/rtconfig.h index b6e6c437c2..a9bc4c8fd7 100644 --- a/bsp/nuvoton/numaker-hmi-ma35d1/rtconfig.h +++ b/bsp/nuvoton/numaker-hmi-ma35d1/rtconfig.h @@ -378,7 +378,7 @@ /* Utest Self Testcase */ -#define UTEST_SELF_PASS_TC +#define RT_UTEST_SELF_PASS /* end of Utest Self Testcase */ /* Kernel Testcase */ diff --git a/bsp/nuvoton/numaker-iot-ma35d1/.config b/bsp/nuvoton/numaker-iot-ma35d1/.config index 5627caf429..1ab46269ab 100644 --- a/bsp/nuvoton/numaker-iot-ma35d1/.config +++ b/bsp/nuvoton/numaker-iot-ma35d1/.config @@ -606,7 +606,7 @@ CONFIG_RT_USING_UTESTCASES=y # # Utest Self Testcase # -CONFIG_UTEST_SELF_PASS_TC=y +CONFIG_RT_UTEST_SELF_PASS=y # end of Utest Self Testcase # diff --git a/bsp/nuvoton/numaker-iot-ma35d1/rtconfig.h b/bsp/nuvoton/numaker-iot-ma35d1/rtconfig.h index b9b506fc15..6a602ab0f8 100644 --- a/bsp/nuvoton/numaker-iot-ma35d1/rtconfig.h +++ b/bsp/nuvoton/numaker-iot-ma35d1/rtconfig.h @@ -379,7 +379,7 @@ /* Utest Self Testcase */ -#define UTEST_SELF_PASS_TC +#define RT_UTEST_SELF_PASS /* end of Utest Self Testcase */ /* Kernel Testcase */ diff --git a/bsp/nuvoton/numaker-m032ki/.config b/bsp/nuvoton/numaker-m032ki/.config index 805600783d..1c2be4c937 100644 --- a/bsp/nuvoton/numaker-m032ki/.config +++ b/bsp/nuvoton/numaker-m032ki/.config @@ -407,7 +407,7 @@ CONFIG_RT_USING_UTESTCASES=y # # Utest Self Testcase # -CONFIG_UTEST_SELF_PASS_TC=y +CONFIG_RT_UTEST_SELF_PASS=y # end of Utest Self Testcase # diff --git a/bsp/nuvoton/numaker-m032ki/config_lvgl b/bsp/nuvoton/numaker-m032ki/config_lvgl index cb26c15034..1d852a5d39 100644 --- a/bsp/nuvoton/numaker-m032ki/config_lvgl +++ b/bsp/nuvoton/numaker-m032ki/config_lvgl @@ -234,7 +234,7 @@ CONFIG_RT_USING_UTESTCASES=y # # Utest Self Testcase # -CONFIG_UTEST_SELF_PASS_TC=y +CONFIG_RT_UTEST_SELF_PASS=y # # Kernel Testcase diff --git a/bsp/nuvoton/numaker-m032ki/rtconfig.h b/bsp/nuvoton/numaker-m032ki/rtconfig.h index 5a488e3e94..5e5b2a202c 100644 --- a/bsp/nuvoton/numaker-m032ki/rtconfig.h +++ b/bsp/nuvoton/numaker-m032ki/rtconfig.h @@ -223,7 +223,7 @@ /* Utest Self Testcase */ -#define UTEST_SELF_PASS_TC +#define RT_UTEST_SELF_PASS /* end of Utest Self Testcase */ /* Kernel Testcase */ diff --git a/components/utilities/utest/utest/Kconfig b/components/utilities/utest/utest/Kconfig index 088f49d1b6..890903ba3f 100644 --- a/components/utilities/utest/utest/Kconfig +++ b/components/utilities/utest/utest/Kconfig @@ -1,6 +1,6 @@ menu "Utest Self Testcase" -config UTEST_SELF_PASS_TC +config RT_UTEST_SELF_PASS bool "UTEST Self-test" select RT_USING_UTEST default n diff --git a/components/utilities/utest/utest/SConscript b/components/utilities/utest/utest/SConscript index ec1e214de6..15b83ac3e5 100644 --- a/components/utilities/utest/utest/SConscript +++ b/components/utilities/utest/utest/SConscript @@ -2,7 +2,7 @@ from building import * src = [] -if GetDepend('UTEST_SELF_PASS_TC'): +if GetDepend('RT_UTEST_SELF_PASS'): src += Glob('TC_*.c') group = DefineGroup('utc_UTest', src, depend = ['']) diff --git a/examples/utest/configs/default.cfg b/examples/utest/configs/default.cfg index cb59d0d01e..34a8ee6cfe 100644 --- a/examples/utest/configs/default.cfg +++ b/examples/utest/configs/default.cfg @@ -2,6 +2,6 @@ CONFIG_RT_CONSOLEBUF_SIZE=1024 CONFIG_RT_USING_CI_ACTION=y -CONFIG_UTEST_SELF_PASS_TC=y +CONFIG_RT_UTEST_SELF_PASS=y CONFIG_UTEST_MEMHEAP_TC=y CONFIG_UTEST_SMALL_MEM_TC=y \ No newline at end of file