From 2cd8c5bb2c2caba80dd7bb181297c1515debb8b7 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 16:22:06 +0800 Subject: [PATCH 01/32] utest: UTEST_SERIAL_BYPASS -> RT_UTEST_SERIAL_BYPASS Signed-off-by: Chen Wang --- components/drivers/serial/utest/Kconfig | 2 +- components/drivers/serial/utest/bypass/SConscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/drivers/serial/utest/Kconfig b/components/drivers/serial/utest/Kconfig index cc6413374ff..8c563b0c461 100644 --- a/components/drivers/serial/utest/Kconfig +++ b/components/drivers/serial/utest/Kconfig @@ -1,6 +1,6 @@ menu "Serial Unit Testcases" - config UTEST_SERIAL_BYPASS + config RT_UTEST_SERIAL_BYPASS bool "Serial Bypass testcases" default n depends on RT_USING_SERIAL_BYPASS diff --git a/components/drivers/serial/utest/bypass/SConscript b/components/drivers/serial/utest/bypass/SConscript index 86be64011bf..2939d3c165d 100644 --- a/components/drivers/serial/utest/bypass/SConscript +++ b/components/drivers/serial/utest/bypass/SConscript @@ -6,6 +6,6 @@ src = Glob('bypass*.c') CPPPATH = [cwd] -group = DefineGroup('utestcases', src, depend = ['UTEST_SERIAL_BYPASS'], CPPPATH = CPPPATH) +group = DefineGroup('utestcases', src, depend = ['RT_UTEST_SERIAL_BYPASS'], CPPPATH = CPPPATH) Return('group') From b940067d9a797a51fa6d05651c8fa979d5beb5ac Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 16:25:56 +0800 Subject: [PATCH 02/32] utest: UTEST_SERIAL_TC -> RT_UTEST_SERIAL_V2 Signed-off-by: Chen Wang --- components/drivers/serial/utest/Kconfig | 4 ++-- components/drivers/serial/utest/v2/SConscript | 2 +- .../drivers/serial/utest/v2/posix/uart_posix_echo_block.c | 2 +- .../drivers/serial/utest/v2/posix/uart_posix_nonblock.c | 2 +- components/drivers/serial/utest/v2/qemu/uart_qemu_echo.c | 2 +- components/drivers/serial/utest/v2/uart_blocking_rx.c | 2 +- components/drivers/serial/utest/v2/uart_blocking_tx.c | 2 +- components/drivers/serial/utest/v2/uart_flush_rx.c | 2 +- components/drivers/serial/utest/v2/uart_flush_txb.c | 2 +- components/drivers/serial/utest/v2/uart_flush_txnb.c | 2 +- .../drivers/serial/utest/v2/uart_get_unread_bytes_count.c | 2 +- components/drivers/serial/utest/v2/uart_nonblocking_rx.c | 2 +- components/drivers/serial/utest/v2/uart_nonblocking_tx.c | 2 +- components/drivers/serial/utest/v2/uart_overflow_rxb_txb.c | 2 +- components/drivers/serial/utest/v2/uart_rxb_txb.c | 2 +- components/drivers/serial/utest/v2/uart_rxb_txnb.c | 2 +- components/drivers/serial/utest/v2/uart_rxnb_txb.c | 2 +- components/drivers/serial/utest/v2/uart_rxnb_txnb.c | 2 +- components/drivers/serial/utest/v2/uart_timeout_rxb.c | 2 +- components/drivers/serial/utest/v2/uart_timeout_rxb_txb.c | 2 +- components/drivers/serial/utest/v2/uart_timeout_txb.c | 2 +- 21 files changed, 22 insertions(+), 22 deletions(-) diff --git a/components/drivers/serial/utest/Kconfig b/components/drivers/serial/utest/Kconfig index 8c563b0c461..aa0e935cd28 100644 --- a/components/drivers/serial/utest/Kconfig +++ b/components/drivers/serial/utest/Kconfig @@ -5,12 +5,12 @@ menu "Serial Unit Testcases" default n depends on RT_USING_SERIAL_BYPASS - config UTEST_SERIAL_TC + config RT_UTEST_SERIAL_V2 bool "Serial V2 testcases" default n depends on RT_USING_SERIAL_V2 - if UTEST_SERIAL_TC + if RT_UTEST_SERIAL_V2 config RT_SERIAL_TC_DEVICE_NAME string "the device name for serial test" diff --git a/components/drivers/serial/utest/v2/SConscript b/components/drivers/serial/utest/v2/SConscript index 7ef99d20b7d..ad185d7f822 100644 --- a/components/drivers/serial/utest/v2/SConscript +++ b/components/drivers/serial/utest/v2/SConscript @@ -12,7 +12,7 @@ if GetDepend(['UTEST_SERIAL_POSIX_TC']): if GetDepend(['UTEST_SERIAL_QEMU_TC']): src += Glob('qemu/*.c') -group = DefineGroup('utestcases', src, depend = ['UTEST_SERIAL_TC'], CPPPATH = path) +group = DefineGroup('utestcases', src, depend = ['RT_UTEST_SERIAL_V2'], CPPPATH = path) Return('group') diff --git a/components/drivers/serial/utest/v2/posix/uart_posix_echo_block.c b/components/drivers/serial/utest/v2/posix/uart_posix_echo_block.c index 20eb076a88f..b0c1045cb7c 100644 --- a/components/drivers/serial/utest/v2/posix/uart_posix_echo_block.c +++ b/components/drivers/serial/utest/v2/posix/uart_posix_echo_block.c @@ -19,7 +19,7 @@ #include -#ifdef UTEST_SERIAL_TC +#ifdef RT_UTEST_SERIAL_V2 static int32_t serial_fd; static rt_uint8_t uart_over_flag; diff --git a/components/drivers/serial/utest/v2/posix/uart_posix_nonblock.c b/components/drivers/serial/utest/v2/posix/uart_posix_nonblock.c index c7556c51512..9fdc9ad4933 100644 --- a/components/drivers/serial/utest/v2/posix/uart_posix_nonblock.c +++ b/components/drivers/serial/utest/v2/posix/uart_posix_nonblock.c @@ -19,7 +19,7 @@ #include -#ifdef UTEST_SERIAL_TC +#ifdef RT_UTEST_SERIAL_V2 static int32_t serial_fd; diff --git a/components/drivers/serial/utest/v2/qemu/uart_qemu_echo.c b/components/drivers/serial/utest/v2/qemu/uart_qemu_echo.c index 70ec0f83ff0..7200a69ecda 100644 --- a/components/drivers/serial/utest/v2/qemu/uart_qemu_echo.c +++ b/components/drivers/serial/utest/v2/qemu/uart_qemu_echo.c @@ -6,7 +6,7 @@ #define UART_TEST_NUMBER 6 -#ifdef UTEST_SERIAL_TC +#ifdef RT_UTEST_SERIAL_V2 #define echo_test_buffer_size (1024) static rt_device_t u1serial; diff --git a/components/drivers/serial/utest/v2/uart_blocking_rx.c b/components/drivers/serial/utest/v2/uart_blocking_rx.c index fc7899fb303..ad14c970dc2 100644 --- a/components/drivers/serial/utest/v2/uart_blocking_rx.c +++ b/components/drivers/serial/utest/v2/uart_blocking_rx.c @@ -2,7 +2,7 @@ #include #include "utest.h" -#ifdef UTEST_SERIAL_TC +#ifdef RT_UTEST_SERIAL_V2 static rt_bool_t block_read(rt_device_t uart_dev) { diff --git a/components/drivers/serial/utest/v2/uart_blocking_tx.c b/components/drivers/serial/utest/v2/uart_blocking_tx.c index b4d0dc404e7..ec0c79c352e 100644 --- a/components/drivers/serial/utest/v2/uart_blocking_tx.c +++ b/components/drivers/serial/utest/v2/uart_blocking_tx.c @@ -6,7 +6,7 @@ #define UART_TEST_NUMBER 6 -#ifdef UTEST_SERIAL_TC +#ifdef RT_UTEST_SERIAL_V2 static rt_bool_t block_write(rt_device_t uart_dev) { diff --git a/components/drivers/serial/utest/v2/uart_flush_rx.c b/components/drivers/serial/utest/v2/uart_flush_rx.c index 9902a305a9a..24af68353c6 100644 --- a/components/drivers/serial/utest/v2/uart_flush_rx.c +++ b/components/drivers/serial/utest/v2/uart_flush_rx.c @@ -14,7 +14,7 @@ #include -#ifdef UTEST_SERIAL_TC +#ifdef RT_UTEST_SERIAL_V2 static struct rt_serial_device *serial; diff --git a/components/drivers/serial/utest/v2/uart_flush_txb.c b/components/drivers/serial/utest/v2/uart_flush_txb.c index 9d105eadb0a..3e99e77ecac 100644 --- a/components/drivers/serial/utest/v2/uart_flush_txb.c +++ b/components/drivers/serial/utest/v2/uart_flush_txb.c @@ -14,7 +14,7 @@ #include -#ifdef UTEST_SERIAL_TC +#ifdef RT_UTEST_SERIAL_V2 static struct rt_serial_device *serial; diff --git a/components/drivers/serial/utest/v2/uart_flush_txnb.c b/components/drivers/serial/utest/v2/uart_flush_txnb.c index 1c97054754a..e300df286c8 100644 --- a/components/drivers/serial/utest/v2/uart_flush_txnb.c +++ b/components/drivers/serial/utest/v2/uart_flush_txnb.c @@ -14,7 +14,7 @@ #include -#ifdef UTEST_SERIAL_TC +#ifdef RT_UTEST_SERIAL_V2 static struct rt_serial_device *serial; diff --git a/components/drivers/serial/utest/v2/uart_get_unread_bytes_count.c b/components/drivers/serial/utest/v2/uart_get_unread_bytes_count.c index 86f04f75712..40e2bfc918b 100644 --- a/components/drivers/serial/utest/v2/uart_get_unread_bytes_count.c +++ b/components/drivers/serial/utest/v2/uart_get_unread_bytes_count.c @@ -15,7 +15,7 @@ /* */ -#ifdef UTEST_SERIAL_TC +#ifdef RT_UTEST_SERIAL_V2 static struct rt_serial_device *serial; static rt_uint8_t uart_over_flag = RT_FALSE; diff --git a/components/drivers/serial/utest/v2/uart_nonblocking_rx.c b/components/drivers/serial/utest/v2/uart_nonblocking_rx.c index 493863b0aaf..558b9493d27 100644 --- a/components/drivers/serial/utest/v2/uart_nonblocking_rx.c +++ b/components/drivers/serial/utest/v2/uart_nonblocking_rx.c @@ -2,7 +2,7 @@ #include #include "utest.h" -#ifdef UTEST_SERIAL_TC +#ifdef RT_UTEST_SERIAL_V2 static rt_bool_t nonblock_read(rt_device_t uart_dev) { diff --git a/components/drivers/serial/utest/v2/uart_nonblocking_tx.c b/components/drivers/serial/utest/v2/uart_nonblocking_tx.c index 0f5a293fcc2..3fe0fffd1b1 100644 --- a/components/drivers/serial/utest/v2/uart_nonblocking_tx.c +++ b/components/drivers/serial/utest/v2/uart_nonblocking_tx.c @@ -6,7 +6,7 @@ #define UART_TEST_NUMBER 6 -#ifdef UTEST_SERIAL_TC +#ifdef RT_UTEST_SERIAL_V2 static rt_bool_t nonblock_write(rt_device_t uart_dev) { diff --git a/components/drivers/serial/utest/v2/uart_overflow_rxb_txb.c b/components/drivers/serial/utest/v2/uart_overflow_rxb_txb.c index 229d03e7deb..6eb1ee27e91 100644 --- a/components/drivers/serial/utest/v2/uart_overflow_rxb_txb.c +++ b/components/drivers/serial/utest/v2/uart_overflow_rxb_txb.c @@ -14,7 +14,7 @@ #include -#ifdef UTEST_SERIAL_TC +#ifdef RT_UTEST_SERIAL_V2 static struct rt_serial_device *serial; static rt_uint8_t uart_over_flag = RT_FALSE; diff --git a/components/drivers/serial/utest/v2/uart_rxb_txb.c b/components/drivers/serial/utest/v2/uart_rxb_txb.c index 59879abab8c..98b23228d90 100644 --- a/components/drivers/serial/utest/v2/uart_rxb_txb.c +++ b/components/drivers/serial/utest/v2/uart_rxb_txb.c @@ -14,7 +14,7 @@ #include -#ifdef UTEST_SERIAL_TC +#ifdef RT_UTEST_SERIAL_V2 static struct rt_serial_device *serial; static rt_uint8_t uart_over_flag; diff --git a/components/drivers/serial/utest/v2/uart_rxb_txnb.c b/components/drivers/serial/utest/v2/uart_rxb_txnb.c index ff10be2f9d4..d5c723a1a24 100644 --- a/components/drivers/serial/utest/v2/uart_rxb_txnb.c +++ b/components/drivers/serial/utest/v2/uart_rxb_txnb.c @@ -14,7 +14,7 @@ #include -#ifdef UTEST_SERIAL_TC +#ifdef RT_UTEST_SERIAL_V2 static struct rt_serial_device *serial; static rt_sem_t tx_sem; diff --git a/components/drivers/serial/utest/v2/uart_rxnb_txb.c b/components/drivers/serial/utest/v2/uart_rxnb_txb.c index 4e4e3f3dc45..5095273c7a7 100644 --- a/components/drivers/serial/utest/v2/uart_rxnb_txb.c +++ b/components/drivers/serial/utest/v2/uart_rxnb_txb.c @@ -14,7 +14,7 @@ #include -#ifdef UTEST_SERIAL_TC +#ifdef RT_UTEST_SERIAL_V2 static struct rt_serial_device *serial; static rt_sem_t rx_sem; diff --git a/components/drivers/serial/utest/v2/uart_rxnb_txnb.c b/components/drivers/serial/utest/v2/uart_rxnb_txnb.c index 0a08be3b0e7..39168b3352c 100644 --- a/components/drivers/serial/utest/v2/uart_rxnb_txnb.c +++ b/components/drivers/serial/utest/v2/uart_rxnb_txnb.c @@ -14,7 +14,7 @@ #include -#ifdef UTEST_SERIAL_TC +#ifdef RT_UTEST_SERIAL_V2 static struct rt_serial_device *serial; static rt_sem_t tx_sem; diff --git a/components/drivers/serial/utest/v2/uart_timeout_rxb.c b/components/drivers/serial/utest/v2/uart_timeout_rxb.c index c1dfceacd9c..18ece9107fb 100644 --- a/components/drivers/serial/utest/v2/uart_timeout_rxb.c +++ b/components/drivers/serial/utest/v2/uart_timeout_rxb.c @@ -14,7 +14,7 @@ #include -#ifdef UTEST_SERIAL_TC +#ifdef RT_UTEST_SERIAL_V2 static struct rt_serial_device *serial; diff --git a/components/drivers/serial/utest/v2/uart_timeout_rxb_txb.c b/components/drivers/serial/utest/v2/uart_timeout_rxb_txb.c index 0f01abe9683..24a9f2f0c69 100644 --- a/components/drivers/serial/utest/v2/uart_timeout_rxb_txb.c +++ b/components/drivers/serial/utest/v2/uart_timeout_rxb_txb.c @@ -15,7 +15,7 @@ /* */ -#ifdef UTEST_SERIAL_TC +#ifdef RT_UTEST_SERIAL_V2 static struct rt_serial_device *serial; static rt_bool_t uart_result = RT_TRUE; diff --git a/components/drivers/serial/utest/v2/uart_timeout_txb.c b/components/drivers/serial/utest/v2/uart_timeout_txb.c index c805f3f0272..d60e9bd02ca 100644 --- a/components/drivers/serial/utest/v2/uart_timeout_txb.c +++ b/components/drivers/serial/utest/v2/uart_timeout_txb.c @@ -13,7 +13,7 @@ #include #include -#ifdef UTEST_SERIAL_TC +#ifdef RT_UTEST_SERIAL_V2 #ifndef BSP_UART2_TX_USING_DMA static struct rt_serial_device *serial; From 0d73346d4427932fcdcc0322bada90af6326df35 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 16:27:38 +0800 Subject: [PATCH 03/32] utest: UTEST_SERIAL_QEMU_TC -> RT_UTEST_SERIAL_QEMU Signed-off-by: Chen Wang --- components/drivers/serial/utest/Kconfig | 2 +- components/drivers/serial/utest/v2/SConscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/drivers/serial/utest/Kconfig b/components/drivers/serial/utest/Kconfig index aa0e935cd28..b64a433822a 100644 --- a/components/drivers/serial/utest/Kconfig +++ b/components/drivers/serial/utest/Kconfig @@ -28,7 +28,7 @@ menu "Serial Unit Testcases" int "the number of iterations for the test routine." default 100 - config UTEST_SERIAL_QEMU_TC + config RT_UTEST_SERIAL_QEMU bool "qemu dedicated tests" default n diff --git a/components/drivers/serial/utest/v2/SConscript b/components/drivers/serial/utest/v2/SConscript index ad185d7f822..98b3eabecb9 100644 --- a/components/drivers/serial/utest/v2/SConscript +++ b/components/drivers/serial/utest/v2/SConscript @@ -9,7 +9,7 @@ path = [cwd] if GetDepend(['UTEST_SERIAL_POSIX_TC']): src += Glob('posix/*.c') -if GetDepend(['UTEST_SERIAL_QEMU_TC']): +if GetDepend(['RT_UTEST_SERIAL_QEMU']): src += Glob('qemu/*.c') group = DefineGroup('utestcases', src, depend = ['RT_UTEST_SERIAL_V2'], CPPPATH = path) From 9fd1a48cf0d98a7b2109dcaa47c31532a4b6c6fc Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 16:28:49 +0800 Subject: [PATCH 04/32] utest: UTEST_SERIAL_POSIX_TC -> RT_UTEST_SERIAL_POSIX Signed-off-by: Chen Wang --- components/drivers/serial/utest/Kconfig | 4 ++-- components/drivers/serial/utest/v2/SConscript | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/drivers/serial/utest/Kconfig b/components/drivers/serial/utest/Kconfig index b64a433822a..31d1784fa2c 100644 --- a/components/drivers/serial/utest/Kconfig +++ b/components/drivers/serial/utest/Kconfig @@ -32,14 +32,14 @@ menu "Serial Unit Testcases" bool "qemu dedicated tests" default n - config UTEST_SERIAL_POSIX_TC + config RT_UTEST_SERIAL_POSIX bool "Serial posix testcase" default n select RT_USING_DFS select RT_USING_POSIX_FS select RT_USING_POSIX_TERMIOS - if UTEST_SERIAL_POSIX_TC + if RT_UTEST_SERIAL_POSIX config RT_SERIAL_POSIX_TC_DEVICE_NAME string "the device name for serial posix test" diff --git a/components/drivers/serial/utest/v2/SConscript b/components/drivers/serial/utest/v2/SConscript index 98b3eabecb9..487fff585de 100644 --- a/components/drivers/serial/utest/v2/SConscript +++ b/components/drivers/serial/utest/v2/SConscript @@ -6,7 +6,7 @@ src = Glob('*.c') path = [cwd] -if GetDepend(['UTEST_SERIAL_POSIX_TC']): +if GetDepend(['RT_UTEST_SERIAL_POSIX']): src += Glob('posix/*.c') if GetDepend(['RT_UTEST_SERIAL_QEMU']): From 0dc3990d16bc79f7e6d85414f15125a5e9656d07 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 16:33:14 +0800 Subject: [PATCH 05/32] utest: UTEST_SELF_PASS_TC -> RT_UTEST_SELF_PASS Signed-off-by: Chen Wang --- bsp/nuvoton/ma35-rtp/.config | 2 +- bsp/nuvoton/ma35-rtp/rtconfig.h | 2 +- bsp/nuvoton/numaker-hmi-ma35d1/.config | 2 +- bsp/nuvoton/numaker-hmi-ma35d1/rtconfig.h | 2 +- bsp/nuvoton/numaker-iot-ma35d1/.config | 2 +- bsp/nuvoton/numaker-iot-ma35d1/rtconfig.h | 2 +- bsp/nuvoton/numaker-m032ki/.config | 2 +- bsp/nuvoton/numaker-m032ki/config_lvgl | 2 +- bsp/nuvoton/numaker-m032ki/rtconfig.h | 2 +- components/utilities/utest/utest/Kconfig | 2 +- components/utilities/utest/utest/SConscript | 2 +- examples/utest/configs/default.cfg | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/bsp/nuvoton/ma35-rtp/.config b/bsp/nuvoton/ma35-rtp/.config index 1fceb8040e5..06898c33dcb 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 b8579830eae..e73c1b4c157 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 13cb9644602..402b74a29d8 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 b6e6c437c25..a9bc4c8fd77 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 5627caf4299..1ab46269ab5 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 b9b506fc159..6a602ab0f89 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 805600783d7..1c2be4c9377 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 cb26c150347..1d852a5d392 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 5a488e3e941..5e5b2a202c9 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 088f49d1b6c..890903ba3f5 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 ec1e214de67..15b83ac3e50 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 cb59d0d01ed..34a8ee6cfec 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 From 57c06628cae6a8501371b1961ef323ac0eac97ae Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 16:35:01 +0800 Subject: [PATCH 06/32] utest: UTEST_CPP11_THREAD_TC -> RT_UTEST_CPP11_THREAD Signed-off-by: Chen Wang --- examples/utest/configs/cpp11/cpp11.cfg | 2 +- examples/utest/testcases/cpp11/Kconfig | 2 +- examples/utest/testcases/cpp11/SConscript | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/utest/configs/cpp11/cpp11.cfg b/examples/utest/configs/cpp11/cpp11.cfg index e30b317cdf7..4cf1338868b 100644 --- a/examples/utest/configs/cpp11/cpp11.cfg +++ b/examples/utest/configs/cpp11/cpp11.cfg @@ -1,4 +1,4 @@ -CONFIG_UTEST_CPP11_THREAD_TC=y +CONFIG_RT_UTEST_CPP11_THREAD=y # dependencies CONFIG_RT_USING_CI_ACTION=y CONFIG_RT_USING_CPLUSPLUS=y diff --git a/examples/utest/testcases/cpp11/Kconfig b/examples/utest/testcases/cpp11/Kconfig index f628309c847..3259e26a39d 100644 --- a/examples/utest/testcases/cpp11/Kconfig +++ b/examples/utest/testcases/cpp11/Kconfig @@ -1,6 +1,6 @@ menu "CPP11 Testcase" -config UTEST_CPP11_THREAD_TC +config RT_UTEST_CPP11_THREAD bool "Cpp11 thread test" select RT_USING_CPLUSPLUS select RT_USING_CPLUSPLUS11 diff --git a/examples/utest/testcases/cpp11/SConscript b/examples/utest/testcases/cpp11/SConscript index e82d652f62a..f9c8b3e1fcd 100644 --- a/examples/utest/testcases/cpp11/SConscript +++ b/examples/utest/testcases/cpp11/SConscript @@ -5,7 +5,7 @@ cwd = GetCurrentDir() src = [] CPPPATH = [cwd] -if GetDepend('UTEST_CPP11_THREAD_TC'): +if GetDepend('RT_UTEST_CPP11_THREAD'): src += Glob('tc_*.cpp') group = DefineGroup('utestcases', src, depend = ['RT_USING_UTESTCASES', 'RT_USING_CPLUSPLUS'], CPPPATH = CPPPATH) From 3b70688e0d36373dbb81412ecde26f5c94a18f97 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 16:38:03 +0800 Subject: [PATCH 07/32] utest: UTEST_MM_API_TC -> RT_UTEST_MM_API Signed-off-by: Chen Wang --- components/mm/mm_memblock.c | 4 ++-- examples/utest/testcases/mm/Kconfig | 2 +- examples/utest/testcases/mm/SConscript | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/mm/mm_memblock.c b/components/mm/mm_memblock.c index d3d4e44f641..3046c1caa92 100644 --- a/components/mm/mm_memblock.c +++ b/components/mm/mm_memblock.c @@ -397,7 +397,7 @@ void rt_memblock_setup_memory_environment(void) LOG_I("%ld MB memory installed to system page", mem/1000000); } -#ifdef UTEST_MM_API_TC +#ifdef RT_UTEST_MM_API /* functions below are only used for utest */ void rt_memblock_merge(void) { @@ -423,4 +423,4 @@ rt_bool_t rt_memblock_is_last_free(void) return mem == rt_slist_entry(&(mmblk_memory.reg_list), struct rt_mmblk_reg, node); } -#endif /* UTEST_MM_API_TC */ +#endif /* RT_UTEST_MM_API */ diff --git a/examples/utest/testcases/mm/Kconfig b/examples/utest/testcases/mm/Kconfig index b1c74e14d54..3c326bceec2 100644 --- a/examples/utest/testcases/mm/Kconfig +++ b/examples/utest/testcases/mm/Kconfig @@ -1,6 +1,6 @@ menu "Memory Management Subsytem Testcase" - config UTEST_MM_API_TC + config RT_UTEST_MM_API bool "Enable Utest for MM API" default n help diff --git a/examples/utest/testcases/mm/SConscript b/examples/utest/testcases/mm/SConscript index 93c0667c0b1..7e1beff71a4 100644 --- a/examples/utest/testcases/mm/SConscript +++ b/examples/utest/testcases/mm/SConscript @@ -5,7 +5,7 @@ cwd = GetCurrentDir() src = [] CPPPATH = [cwd] -if GetDepend(['UTEST_MM_API_TC', 'RT_USING_SMART']): +if GetDepend(['RT_UTEST_MM_API', 'RT_USING_SMART']): # deprecated test, will be rewrited in the future # src += ['mm_api_tc.c', 'mm_libcpu_tc.c'] src += ['rt_ioremap.c'] @@ -14,7 +14,7 @@ if GetDepend(['UTEST_MM_API_TC', 'RT_USING_SMART']): src += ['lwp_mmap_expand.c', 'lwp_mmap_map_fixed.c', 'lwp_mmap_fix_private.c'] src += ['lwp_mmap_fd.c', 'lwp_mmap_fd_map_fixed_merge.c', 'lwp_mmap_fd_map_fixed_split.c'] -if GetDepend(['UTEST_MM_API_TC', 'RT_USING_MEMBLOCK']): +if GetDepend(['RT_UTEST_MM_API', 'RT_USING_MEMBLOCK']): src += ['mm_memblock_tc.c'] if GetDepend(['UTEST_MM_LWP_TC', 'RT_USING_SMART']): From 62aed671aa2209fd9d1013d4eff97bdb7186042f Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 16:39:22 +0800 Subject: [PATCH 08/32] utest: UTEST_MM_LWP_TC -> RT_UTEST_MM_LWP Signed-off-by: Chen Wang --- examples/utest/testcases/mm/Kconfig | 2 +- examples/utest/testcases/mm/SConscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/utest/testcases/mm/Kconfig b/examples/utest/testcases/mm/Kconfig index 3c326bceec2..434df5b9347 100644 --- a/examples/utest/testcases/mm/Kconfig +++ b/examples/utest/testcases/mm/Kconfig @@ -7,7 +7,7 @@ menu "Memory Management Subsytem Testcase" The test covers the Memory Management APIs under the `components/mm` and `libcpu/[mmu.*|tlb.*|cache.*]` - config UTEST_MM_LWP_TC + config RT_UTEST_MM_LWP bool "Enable Utest for MM API in lwp" default n help diff --git a/examples/utest/testcases/mm/SConscript b/examples/utest/testcases/mm/SConscript index 7e1beff71a4..edef3914f13 100644 --- a/examples/utest/testcases/mm/SConscript +++ b/examples/utest/testcases/mm/SConscript @@ -17,7 +17,7 @@ if GetDepend(['RT_UTEST_MM_API', 'RT_USING_SMART']): if GetDepend(['RT_UTEST_MM_API', 'RT_USING_MEMBLOCK']): src += ['mm_memblock_tc.c'] -if GetDepend(['UTEST_MM_LWP_TC', 'RT_USING_SMART']): +if GetDepend(['RT_UTEST_MM_LWP', 'RT_USING_SMART']): src += ['mm_lwp_tc.c'] group = DefineGroup('utestcases', src, depend = ['RT_USING_UTESTCASES'], CPPPATH = CPPPATH) From 7c6c15dcdc2a757af920bf503eb8f60cac81f1e2 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 16:44:19 +0800 Subject: [PATCH 09/32] utest: UTEST_TMPFS_CP -> RT_UTEST_TMPFS_CP Signed-off-by: Chen Wang --- examples/utest/testcases/tmpfs/Kconfig | 2 +- examples/utest/testcases/tmpfs/SConscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/utest/testcases/tmpfs/Kconfig b/examples/utest/testcases/tmpfs/Kconfig index b3a0637950f..c18979f750d 100644 --- a/examples/utest/testcases/tmpfs/Kconfig +++ b/examples/utest/testcases/tmpfs/Kconfig @@ -1,6 +1,6 @@ menu "Tmpfs Testcase" -config UTEST_TMPFS_CP +config RT_UTEST_TMPFS_CP bool "tmpfs cp test" default n endmenu diff --git a/examples/utest/testcases/tmpfs/SConscript b/examples/utest/testcases/tmpfs/SConscript index 1467931a765..126fc7870b5 100644 --- a/examples/utest/testcases/tmpfs/SConscript +++ b/examples/utest/testcases/tmpfs/SConscript @@ -5,7 +5,7 @@ cwd = GetCurrentDir() src = [] CPPPATH = [cwd] -if GetDepend(['RT_USING_SMART','UTEST_TMPFS_CP']): +if GetDepend(['RT_USING_SMART','RT_UTEST_TMPFS_CP']): src += ['tmpfs.c'] group = DefineGroup('utestcases', src, depend = ['RT_USING_UTESTCASES'], CPPPATH = CPPPATH) From 7d09bf767eb0a1ac0225c30546ed0228af2ae7c6 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 16:49:02 +0800 Subject: [PATCH 10/32] utest: UTEST_MEMHEAP_TC -> RT_UTEST_MEMHEAP Signed-off-by: Chen Wang --- bsp/nuvoton/numaker-hmi-ma35d1/.config | 2 +- bsp/nuvoton/numaker-hmi-ma35d1/rtconfig.h | 2 +- bsp/nuvoton/numaker-iot-ma35d1/.config | 2 +- bsp/nuvoton/numaker-iot-ma35d1/rtconfig.h | 2 +- examples/utest/README.md | 2 +- examples/utest/configs/default.cfg | 2 +- examples/utest/configs/kernel/mem.cfg | 2 +- examples/utest/configs/rtsmart/rtsmart.cfg | 2 +- src/utest/Kconfig | 2 +- src/utest/SConscript | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bsp/nuvoton/numaker-hmi-ma35d1/.config b/bsp/nuvoton/numaker-hmi-ma35d1/.config index 402b74a29d8..cb67a20a0c4 100644 --- a/bsp/nuvoton/numaker-hmi-ma35d1/.config +++ b/bsp/nuvoton/numaker-hmi-ma35d1/.config @@ -611,7 +611,7 @@ CONFIG_RT_UTEST_SELF_PASS=y # # Kernel Testcase # -CONFIG_UTEST_MEMHEAP_TC=y +CONFIG_RT_UTEST_MEMHEAP=y CONFIG_UTEST_SMALL_MEM_TC=y # CONFIG_UTEST_IRQ_TC is not set # CONFIG_UTEST_SEMAPHORE_TC is not set diff --git a/bsp/nuvoton/numaker-hmi-ma35d1/rtconfig.h b/bsp/nuvoton/numaker-hmi-ma35d1/rtconfig.h index a9bc4c8fd77..ea87d891178 100644 --- a/bsp/nuvoton/numaker-hmi-ma35d1/rtconfig.h +++ b/bsp/nuvoton/numaker-hmi-ma35d1/rtconfig.h @@ -383,7 +383,7 @@ /* Kernel Testcase */ -#define UTEST_MEMHEAP_TC +#define RT_UTEST_MEMHEAP #define UTEST_SMALL_MEM_TC /* end of Kernel Testcase */ diff --git a/bsp/nuvoton/numaker-iot-ma35d1/.config b/bsp/nuvoton/numaker-iot-ma35d1/.config index 1ab46269ab5..4e9f0c501cc 100644 --- a/bsp/nuvoton/numaker-iot-ma35d1/.config +++ b/bsp/nuvoton/numaker-iot-ma35d1/.config @@ -612,7 +612,7 @@ CONFIG_RT_UTEST_SELF_PASS=y # # Kernel Testcase # -CONFIG_UTEST_MEMHEAP_TC=y +CONFIG_RT_UTEST_MEMHEAP=y CONFIG_UTEST_SMALL_MEM_TC=y # CONFIG_UTEST_IRQ_TC is not set # CONFIG_UTEST_SEMAPHORE_TC is not set diff --git a/bsp/nuvoton/numaker-iot-ma35d1/rtconfig.h b/bsp/nuvoton/numaker-iot-ma35d1/rtconfig.h index 6a602ab0f89..6c2685ec2c0 100644 --- a/bsp/nuvoton/numaker-iot-ma35d1/rtconfig.h +++ b/bsp/nuvoton/numaker-iot-ma35d1/rtconfig.h @@ -384,7 +384,7 @@ /* Kernel Testcase */ -#define UTEST_MEMHEAP_TC +#define RT_UTEST_MEMHEAP #define UTEST_SMALL_MEM_TC /* end of Kernel Testcase */ diff --git a/examples/utest/README.md b/examples/utest/README.md index 6e24632b7cb..04c3f910f17 100644 --- a/examples/utest/README.md +++ b/examples/utest/README.md @@ -57,7 +57,7 @@ msh />utest_run 1. 如果是对已有测试集合的完善,需要把添加的测试用例的配置项,以及对应的依赖项添加到对应测试集合的配置文件里,如:[examples\utest\configs\kernel\mem.conf](./configs/kernel/mem.conf)。 ``` -CONFIG_UTEST_MEMHEAP_TC=y +CONFIG_RT_UTEST_MEMHEAP=y # dependencies CONFIG_RT_USING_MEMHEAP=y diff --git a/examples/utest/configs/default.cfg b/examples/utest/configs/default.cfg index 34a8ee6cfec..0b618debb83 100644 --- a/examples/utest/configs/default.cfg +++ b/examples/utest/configs/default.cfg @@ -3,5 +3,5 @@ CONFIG_RT_CONSOLEBUF_SIZE=1024 CONFIG_RT_USING_CI_ACTION=y CONFIG_RT_UTEST_SELF_PASS=y -CONFIG_UTEST_MEMHEAP_TC=y +CONFIG_RT_UTEST_MEMHEAP=y CONFIG_UTEST_SMALL_MEM_TC=y \ No newline at end of file diff --git a/examples/utest/configs/kernel/mem.cfg b/examples/utest/configs/kernel/mem.cfg index d05f9d272a2..ddf800a6045 100644 --- a/examples/utest/configs/kernel/mem.cfg +++ b/examples/utest/configs/kernel/mem.cfg @@ -2,7 +2,7 @@ CONFIG_RT_CONSOLEBUF_SIZE=1024 CONFIG_RT_USING_CI_ACTION=y -CONFIG_UTEST_MEMHEAP_TC=y +CONFIG_RT_UTEST_MEMHEAP=y CONFIG_UTEST_SMALL_MEM_TC=y CONFIG_UTEST_MEMPOOL_TC=y diff --git a/examples/utest/configs/rtsmart/rtsmart.cfg b/examples/utest/configs/rtsmart/rtsmart.cfg index 94830baaeee..efc60640796 100644 --- a/examples/utest/configs/rtsmart/rtsmart.cfg +++ b/examples/utest/configs/rtsmart/rtsmart.cfg @@ -1,4 +1,4 @@ -CONFIG_UTEST_MEMHEAP_TC=y +CONFIG_RT_UTEST_MEMHEAP=y # dependencies CONFIG_RT_USING_SMART=y diff --git a/src/utest/Kconfig b/src/utest/Kconfig index c9580f099f3..4b0baf2bb00 100644 --- a/src/utest/Kconfig +++ b/src/utest/Kconfig @@ -1,6 +1,6 @@ menu "Kernel Testcase" -config UTEST_MEMHEAP_TC +config RT_UTEST_MEMHEAP bool "memheap stability test" default n depends on RT_USING_MEMHEAP diff --git a/src/utest/SConscript b/src/utest/SConscript index fae3eb8a6e3..b2e4bcaf070 100644 --- a/src/utest/SConscript +++ b/src/utest/SConscript @@ -8,7 +8,7 @@ CPPPATH = [cwd] if GetDepend(['UTEST_OBJECT_TC']): src += ['object_tc.c'] -if GetDepend(['UTEST_MEMHEAP_TC']): +if GetDepend(['RT_UTEST_MEMHEAP']): src += ['memheap_tc.c'] if GetDepend(['UTEST_SMALL_MEM_TC']): From 2077da623a771d736537b8225dd5f431c52ecb84 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 16:52:13 +0800 Subject: [PATCH 11/32] utest: UTEST_SMALL_MEM_TC -> RT_UTEST_SMALL_MEM Signed-off-by: Chen Wang --- bsp/nuvoton/ma35-rtp/.config | 2 +- bsp/nuvoton/ma35-rtp/rtconfig.h | 2 +- bsp/nuvoton/numaker-hmi-ma35d1/.config | 2 +- bsp/nuvoton/numaker-hmi-ma35d1/rtconfig.h | 2 +- bsp/nuvoton/numaker-iot-ma35d1/.config | 2 +- bsp/nuvoton/numaker-iot-ma35d1/rtconfig.h | 2 +- bsp/nuvoton/numaker-m032ki/.config | 2 +- bsp/nuvoton/numaker-m032ki/config_lvgl | 2 +- bsp/nuvoton/numaker-m032ki/rtconfig.h | 2 +- examples/utest/configs/default.cfg | 2 +- examples/utest/configs/kernel/mem.cfg | 2 +- src/utest/Kconfig | 2 +- src/utest/SConscript | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/bsp/nuvoton/ma35-rtp/.config b/bsp/nuvoton/ma35-rtp/.config index 06898c33dcb..c3b0ef3c342 100644 --- a/bsp/nuvoton/ma35-rtp/.config +++ b/bsp/nuvoton/ma35-rtp/.config @@ -406,7 +406,7 @@ CONFIG_RT_UTEST_SELF_PASS=y # # Kernel Testcase # -CONFIG_UTEST_SMALL_MEM_TC=y +CONFIG_RT_UTEST_SMALL_MEM=y # CONFIG_UTEST_IRQ_TC is not set # CONFIG_UTEST_SEMAPHORE_TC is not set # CONFIG_UTEST_EVENT_TC is not set diff --git a/bsp/nuvoton/ma35-rtp/rtconfig.h b/bsp/nuvoton/ma35-rtp/rtconfig.h index e73c1b4c157..9bab82a5e24 100644 --- a/bsp/nuvoton/ma35-rtp/rtconfig.h +++ b/bsp/nuvoton/ma35-rtp/rtconfig.h @@ -222,7 +222,7 @@ /* Kernel Testcase */ -#define UTEST_SMALL_MEM_TC +#define RT_UTEST_SMALL_MEM /* end of Kernel Testcase */ /* CPP11 Testcase */ diff --git a/bsp/nuvoton/numaker-hmi-ma35d1/.config b/bsp/nuvoton/numaker-hmi-ma35d1/.config index cb67a20a0c4..a68e42fd24d 100644 --- a/bsp/nuvoton/numaker-hmi-ma35d1/.config +++ b/bsp/nuvoton/numaker-hmi-ma35d1/.config @@ -612,7 +612,7 @@ CONFIG_RT_UTEST_SELF_PASS=y # Kernel Testcase # CONFIG_RT_UTEST_MEMHEAP=y -CONFIG_UTEST_SMALL_MEM_TC=y +CONFIG_RT_UTEST_SMALL_MEM=y # CONFIG_UTEST_IRQ_TC is not set # CONFIG_UTEST_SEMAPHORE_TC is not set # CONFIG_UTEST_EVENT_TC is not set diff --git a/bsp/nuvoton/numaker-hmi-ma35d1/rtconfig.h b/bsp/nuvoton/numaker-hmi-ma35d1/rtconfig.h index ea87d891178..36a552f6bf0 100644 --- a/bsp/nuvoton/numaker-hmi-ma35d1/rtconfig.h +++ b/bsp/nuvoton/numaker-hmi-ma35d1/rtconfig.h @@ -384,7 +384,7 @@ /* Kernel Testcase */ #define RT_UTEST_MEMHEAP -#define UTEST_SMALL_MEM_TC +#define RT_UTEST_SMALL_MEM /* end of Kernel Testcase */ /* CPP11 Testcase */ diff --git a/bsp/nuvoton/numaker-iot-ma35d1/.config b/bsp/nuvoton/numaker-iot-ma35d1/.config index 4e9f0c501cc..0d953f5315a 100644 --- a/bsp/nuvoton/numaker-iot-ma35d1/.config +++ b/bsp/nuvoton/numaker-iot-ma35d1/.config @@ -613,7 +613,7 @@ CONFIG_RT_UTEST_SELF_PASS=y # Kernel Testcase # CONFIG_RT_UTEST_MEMHEAP=y -CONFIG_UTEST_SMALL_MEM_TC=y +CONFIG_RT_UTEST_SMALL_MEM=y # CONFIG_UTEST_IRQ_TC is not set # CONFIG_UTEST_SEMAPHORE_TC is not set # CONFIG_UTEST_EVENT_TC is not set diff --git a/bsp/nuvoton/numaker-iot-ma35d1/rtconfig.h b/bsp/nuvoton/numaker-iot-ma35d1/rtconfig.h index 6c2685ec2c0..c9c2b518fe2 100644 --- a/bsp/nuvoton/numaker-iot-ma35d1/rtconfig.h +++ b/bsp/nuvoton/numaker-iot-ma35d1/rtconfig.h @@ -385,7 +385,7 @@ /* Kernel Testcase */ #define RT_UTEST_MEMHEAP -#define UTEST_SMALL_MEM_TC +#define RT_UTEST_SMALL_MEM /* end of Kernel Testcase */ /* CPP11 Testcase */ diff --git a/bsp/nuvoton/numaker-m032ki/.config b/bsp/nuvoton/numaker-m032ki/.config index 1c2be4c9377..b0c9563407d 100644 --- a/bsp/nuvoton/numaker-m032ki/.config +++ b/bsp/nuvoton/numaker-m032ki/.config @@ -413,7 +413,7 @@ CONFIG_RT_UTEST_SELF_PASS=y # # Kernel Testcase # -CONFIG_UTEST_SMALL_MEM_TC=y +CONFIG_RT_UTEST_SMALL_MEM=y # CONFIG_UTEST_IRQ_TC is not set # CONFIG_UTEST_SEMAPHORE_TC is not set # CONFIG_UTEST_EVENT_TC is not set diff --git a/bsp/nuvoton/numaker-m032ki/config_lvgl b/bsp/nuvoton/numaker-m032ki/config_lvgl index 1d852a5d392..36d4d68edb9 100644 --- a/bsp/nuvoton/numaker-m032ki/config_lvgl +++ b/bsp/nuvoton/numaker-m032ki/config_lvgl @@ -239,7 +239,7 @@ CONFIG_RT_UTEST_SELF_PASS=y # # Kernel Testcase # -CONFIG_UTEST_SMALL_MEM_TC=y +CONFIG_RT_UTEST_SMALL_MEM=y # CONFIG_UTEST_IRQ_TC is not set # CONFIG_UTEST_SEMAPHORE_TC is not set # CONFIG_UTEST_EVENT_TC is not set diff --git a/bsp/nuvoton/numaker-m032ki/rtconfig.h b/bsp/nuvoton/numaker-m032ki/rtconfig.h index 5e5b2a202c9..3d5d276ded9 100644 --- a/bsp/nuvoton/numaker-m032ki/rtconfig.h +++ b/bsp/nuvoton/numaker-m032ki/rtconfig.h @@ -228,7 +228,7 @@ /* Kernel Testcase */ -#define UTEST_SMALL_MEM_TC +#define RT_UTEST_SMALL_MEM /* end of Kernel Testcase */ /* CPP11 Testcase */ diff --git a/examples/utest/configs/default.cfg b/examples/utest/configs/default.cfg index 0b618debb83..ebc7b5fc41d 100644 --- a/examples/utest/configs/default.cfg +++ b/examples/utest/configs/default.cfg @@ -4,4 +4,4 @@ CONFIG_RT_USING_CI_ACTION=y CONFIG_RT_UTEST_SELF_PASS=y CONFIG_RT_UTEST_MEMHEAP=y -CONFIG_UTEST_SMALL_MEM_TC=y \ No newline at end of file +CONFIG_RT_UTEST_SMALL_MEM=y \ No newline at end of file diff --git a/examples/utest/configs/kernel/mem.cfg b/examples/utest/configs/kernel/mem.cfg index ddf800a6045..e2bffb9ecff 100644 --- a/examples/utest/configs/kernel/mem.cfg +++ b/examples/utest/configs/kernel/mem.cfg @@ -3,7 +3,7 @@ CONFIG_RT_CONSOLEBUF_SIZE=1024 CONFIG_RT_USING_CI_ACTION=y CONFIG_RT_UTEST_MEMHEAP=y -CONFIG_UTEST_SMALL_MEM_TC=y +CONFIG_RT_UTEST_SMALL_MEM=y CONFIG_UTEST_MEMPOOL_TC=y CONFIG_UTEST_THR_STACK_SIZE=8192 \ No newline at end of file diff --git a/src/utest/Kconfig b/src/utest/Kconfig index 4b0baf2bb00..3d230d01df9 100644 --- a/src/utest/Kconfig +++ b/src/utest/Kconfig @@ -5,7 +5,7 @@ config RT_UTEST_MEMHEAP default n depends on RT_USING_MEMHEAP -config UTEST_SMALL_MEM_TC +config RT_UTEST_SMALL_MEM bool "mem test" default n depends on RT_USING_SMALL_MEM diff --git a/src/utest/SConscript b/src/utest/SConscript index b2e4bcaf070..2f4af528ffd 100644 --- a/src/utest/SConscript +++ b/src/utest/SConscript @@ -11,7 +11,7 @@ if GetDepend(['UTEST_OBJECT_TC']): if GetDepend(['RT_UTEST_MEMHEAP']): src += ['memheap_tc.c'] -if GetDepend(['UTEST_SMALL_MEM_TC']): +if GetDepend(['RT_UTEST_SMALL_MEM']): src += ['mem_tc.c'] if GetDepend(['UTEST_SLAB_TC']): From fedad0638f2da0de5b33ec78d2665068d860431d Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 16:53:26 +0800 Subject: [PATCH 12/32] utest: UTEST_OBJECT_TC -> RT_UTEST_OBJECT Signed-off-by: Chen Wang --- examples/utest/configs/kernel/kernel_basic.cfg | 2 +- src/utest/Kconfig | 2 +- src/utest/SConscript | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/utest/configs/kernel/kernel_basic.cfg b/examples/utest/configs/kernel/kernel_basic.cfg index 5d547aae7d0..9f6f3f5a173 100644 --- a/examples/utest/configs/kernel/kernel_basic.cfg +++ b/examples/utest/configs/kernel/kernel_basic.cfg @@ -2,7 +2,7 @@ CONFIG_RT_CONSOLEBUF_SIZE=1024 CONFIG_RT_USING_CI_ACTION=y -CONFIG_UTEST_OBJECT_TC=y +CONFIG_RT_UTEST_OBJECT=y CONFIG_UTEST_IRQ_TC=y CONFIG_UTEST_THREAD_TC=y CONFIG_RT_UTEST_DRIVERS_CORE=y diff --git a/src/utest/Kconfig b/src/utest/Kconfig index 3d230d01df9..49d470ee93d 100644 --- a/src/utest/Kconfig +++ b/src/utest/Kconfig @@ -10,7 +10,7 @@ config RT_UTEST_SMALL_MEM default n depends on RT_USING_SMALL_MEM -config UTEST_OBJECT_TC +config RT_UTEST_OBJECT select RT_USING_DEVICE select RT_USING_SEMAPHORE bool "object test" diff --git a/src/utest/SConscript b/src/utest/SConscript index 2f4af528ffd..45f87c3f944 100644 --- a/src/utest/SConscript +++ b/src/utest/SConscript @@ -5,7 +5,7 @@ cwd = GetCurrentDir() src = [] CPPPATH = [cwd] -if GetDepend(['UTEST_OBJECT_TC']): +if GetDepend(['RT_UTEST_OBJECT']): src += ['object_tc.c'] if GetDepend(['RT_UTEST_MEMHEAP']): From a7b22d1c295663807b7d45f2bb78e587ed2c90c4 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 16:54:43 +0800 Subject: [PATCH 13/32] utest: UTEST_SLAB_TC -> RT_UTEST_SLAB Signed-off-by: Chen Wang --- src/utest/Kconfig | 2 +- src/utest/SConscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utest/Kconfig b/src/utest/Kconfig index 49d470ee93d..84dcd236361 100644 --- a/src/utest/Kconfig +++ b/src/utest/Kconfig @@ -16,7 +16,7 @@ config RT_UTEST_OBJECT bool "object test" default n -config UTEST_SLAB_TC +config RT_UTEST_SLAB bool "slab test" default n depends on RT_USING_SLAB diff --git a/src/utest/SConscript b/src/utest/SConscript index 45f87c3f944..869fb386c16 100644 --- a/src/utest/SConscript +++ b/src/utest/SConscript @@ -14,7 +14,7 @@ if GetDepend(['RT_UTEST_MEMHEAP']): if GetDepend(['RT_UTEST_SMALL_MEM']): src += ['mem_tc.c'] -if GetDepend(['UTEST_SLAB_TC']): +if GetDepend(['RT_UTEST_SLAB']): src += ['slab_tc.c'] if GetDepend(['UTEST_IRQ_TC']): From 4755be53d9b4acc89e568116247d674804456acf Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 16:56:17 +0800 Subject: [PATCH 14/32] utest: UTEST_IRQ_TC -> RT_UTEST_IRQ Signed-off-by: Chen Wang --- examples/utest/configs/kernel/kernel_basic.cfg | 2 +- src/utest/Kconfig | 2 +- src/utest/SConscript | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/utest/configs/kernel/kernel_basic.cfg b/examples/utest/configs/kernel/kernel_basic.cfg index 9f6f3f5a173..339ce6931a5 100644 --- a/examples/utest/configs/kernel/kernel_basic.cfg +++ b/examples/utest/configs/kernel/kernel_basic.cfg @@ -3,7 +3,7 @@ CONFIG_RT_CONSOLEBUF_SIZE=1024 CONFIG_RT_USING_CI_ACTION=y CONFIG_RT_UTEST_OBJECT=y -CONFIG_UTEST_IRQ_TC=y +CONFIG_RT_UTEST_IRQ=y CONFIG_UTEST_THREAD_TC=y CONFIG_RT_UTEST_DRIVERS_CORE=y CONFIG_UTEST_ATOMIC_TC=y diff --git a/src/utest/Kconfig b/src/utest/Kconfig index 84dcd236361..cea93600a19 100644 --- a/src/utest/Kconfig +++ b/src/utest/Kconfig @@ -21,7 +21,7 @@ config RT_UTEST_SLAB default n depends on RT_USING_SLAB -config UTEST_IRQ_TC +config RT_UTEST_IRQ bool "IRQ test" default n diff --git a/src/utest/SConscript b/src/utest/SConscript index 869fb386c16..97b23d46110 100644 --- a/src/utest/SConscript +++ b/src/utest/SConscript @@ -17,7 +17,7 @@ if GetDepend(['RT_UTEST_SMALL_MEM']): if GetDepend(['RT_UTEST_SLAB']): src += ['slab_tc.c'] -if GetDepend(['UTEST_IRQ_TC']): +if GetDepend(['RT_UTEST_IRQ']): src += ['irq_tc.c'] if GetDepend(['UTEST_SEMAPHORE_TC']): From e6d31f2bc22e3eefce7b4e0ebc468ad6dbd114ab Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 16:57:43 +0800 Subject: [PATCH 15/32] utest: UTEST_SEMAPHORE_TC -> RT_UTEST_SEMAPHORE Signed-off-by: Chen Wang --- examples/utest/configs/kernel/ipc.cfg | 2 +- src/utest/Kconfig | 2 +- src/utest/SConscript | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/utest/configs/kernel/ipc.cfg b/examples/utest/configs/kernel/ipc.cfg index 56e13962573..a7053283eb1 100644 --- a/examples/utest/configs/kernel/ipc.cfg +++ b/examples/utest/configs/kernel/ipc.cfg @@ -2,7 +2,7 @@ CONFIG_RT_CONSOLEBUF_SIZE=1024 CONFIG_RT_USING_CI_ACTION=y -CONFIG_UTEST_SEMAPHORE_TC=y +CONFIG_RT_UTEST_SEMAPHORE=y CONFIG_UTEST_EVENT_TC=y CONFIG_UTEST_MESSAGEQUEUE_TC=y CONFIG_UTEST_SIGNAL_TC=y diff --git a/src/utest/Kconfig b/src/utest/Kconfig index cea93600a19..b184666fac4 100644 --- a/src/utest/Kconfig +++ b/src/utest/Kconfig @@ -25,7 +25,7 @@ config RT_UTEST_IRQ bool "IRQ test" default n -config UTEST_SEMAPHORE_TC +config RT_UTEST_SEMAPHORE bool "semaphore test" default n depends on RT_USING_SEMAPHORE diff --git a/src/utest/SConscript b/src/utest/SConscript index 97b23d46110..314ae297b6c 100644 --- a/src/utest/SConscript +++ b/src/utest/SConscript @@ -20,7 +20,7 @@ if GetDepend(['RT_UTEST_SLAB']): if GetDepend(['RT_UTEST_IRQ']): src += ['irq_tc.c'] -if GetDepend(['UTEST_SEMAPHORE_TC']): +if GetDepend(['RT_UTEST_SEMAPHORE']): src += ['semaphore_tc.c'] if GetDepend(['UTEST_EVENT_TC']): From fc7310a2113ecf5c66679d45c1b11cb9baa02868 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 16:59:11 +0800 Subject: [PATCH 16/32] utest: UTEST_EVENT_TC -> RT_UTEST_EVENT Signed-off-by: Chen Wang --- examples/utest/configs/kernel/ipc.cfg | 2 +- src/utest/Kconfig | 2 +- src/utest/SConscript | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/utest/configs/kernel/ipc.cfg b/examples/utest/configs/kernel/ipc.cfg index a7053283eb1..92c9efbcdd2 100644 --- a/examples/utest/configs/kernel/ipc.cfg +++ b/examples/utest/configs/kernel/ipc.cfg @@ -3,7 +3,7 @@ CONFIG_RT_CONSOLEBUF_SIZE=1024 CONFIG_RT_USING_CI_ACTION=y CONFIG_RT_UTEST_SEMAPHORE=y -CONFIG_UTEST_EVENT_TC=y +CONFIG_RT_UTEST_EVENT=y CONFIG_UTEST_MESSAGEQUEUE_TC=y CONFIG_UTEST_SIGNAL_TC=y CONFIG_UTEST_MUTEX_TC=y diff --git a/src/utest/Kconfig b/src/utest/Kconfig index b184666fac4..ad3c8bec065 100644 --- a/src/utest/Kconfig +++ b/src/utest/Kconfig @@ -30,7 +30,7 @@ config RT_UTEST_SEMAPHORE default n depends on RT_USING_SEMAPHORE -config UTEST_EVENT_TC +config RT_UTEST_EVENT bool "event test" default n depends on RT_USING_EVENT diff --git a/src/utest/SConscript b/src/utest/SConscript index 314ae297b6c..c50c7137bde 100644 --- a/src/utest/SConscript +++ b/src/utest/SConscript @@ -23,7 +23,7 @@ if GetDepend(['RT_UTEST_IRQ']): if GetDepend(['RT_UTEST_SEMAPHORE']): src += ['semaphore_tc.c'] -if GetDepend(['UTEST_EVENT_TC']): +if GetDepend(['RT_UTEST_EVENT']): src += ['event_tc.c'] if GetDepend(['UTEST_TIMER_TC']): From 7fd2a08e4dc4dcef9c912e05874da228c5b89871 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 17:02:35 +0800 Subject: [PATCH 17/32] utest: UTEST_TIMER_TC -> RT_UTEST_TIMER Signed-off-by: Chen Wang --- src/utest/Kconfig | 2 +- src/utest/SConscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utest/Kconfig b/src/utest/Kconfig index ad3c8bec065..125af7009b0 100644 --- a/src/utest/Kconfig +++ b/src/utest/Kconfig @@ -35,7 +35,7 @@ config RT_UTEST_EVENT default n depends on RT_USING_EVENT -config UTEST_TIMER_TC +config RT_UTEST_TIMER bool "timer test" default n diff --git a/src/utest/SConscript b/src/utest/SConscript index c50c7137bde..63a1ce37e85 100644 --- a/src/utest/SConscript +++ b/src/utest/SConscript @@ -26,7 +26,7 @@ if GetDepend(['RT_UTEST_SEMAPHORE']): if GetDepend(['RT_UTEST_EVENT']): src += ['event_tc.c'] -if GetDepend(['UTEST_TIMER_TC']): +if GetDepend(['RT_UTEST_TIMER']): src += ['timer_tc.c'] if GetDepend(['UTEST_MESSAGEQUEUE_TC']): From 31ca832e1f912c2b6b9d1be2af72758578fe291a Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 17:03:54 +0800 Subject: [PATCH 18/32] utest: UTEST_MESSAGEQUEUE_TC -> RT_UTEST_MESSAGEQUEUE Signed-off-by: Chen Wang --- examples/utest/configs/kernel/ipc.cfg | 2 +- src/utest/Kconfig | 2 +- src/utest/SConscript | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/utest/configs/kernel/ipc.cfg b/examples/utest/configs/kernel/ipc.cfg index 92c9efbcdd2..89286caf6a4 100644 --- a/examples/utest/configs/kernel/ipc.cfg +++ b/examples/utest/configs/kernel/ipc.cfg @@ -4,7 +4,7 @@ CONFIG_RT_USING_CI_ACTION=y CONFIG_RT_UTEST_SEMAPHORE=y CONFIG_RT_UTEST_EVENT=y -CONFIG_UTEST_MESSAGEQUEUE_TC=y +CONFIG_RT_UTEST_MESSAGEQUEUE=y CONFIG_UTEST_SIGNAL_TC=y CONFIG_UTEST_MUTEX_TC=y CONFIG_UTEST_MAILBOX_TC=y diff --git a/src/utest/Kconfig b/src/utest/Kconfig index 125af7009b0..6f5d75ba00d 100644 --- a/src/utest/Kconfig +++ b/src/utest/Kconfig @@ -39,7 +39,7 @@ config RT_UTEST_TIMER bool "timer test" default n -config UTEST_MESSAGEQUEUE_TC +config RT_UTEST_MESSAGEQUEUE bool "message queue test" default n diff --git a/src/utest/SConscript b/src/utest/SConscript index 63a1ce37e85..e8a716ac57a 100644 --- a/src/utest/SConscript +++ b/src/utest/SConscript @@ -29,7 +29,7 @@ if GetDepend(['RT_UTEST_EVENT']): if GetDepend(['RT_UTEST_TIMER']): src += ['timer_tc.c'] -if GetDepend(['UTEST_MESSAGEQUEUE_TC']): +if GetDepend(['RT_UTEST_MESSAGEQUEUE']): src += ['messagequeue_tc.c'] if GetDepend(['UTEST_SIGNAL_TC']): From a53366cbdf4afe73d6bb39cee1c7d2de3116fc78 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 17:05:08 +0800 Subject: [PATCH 19/32] utest: UTEST_SIGNAL_TC -> RT_UTEST_SIGNAL Signed-off-by: Chen Wang --- examples/utest/configs/kernel/ipc.cfg | 2 +- src/utest/Kconfig | 2 +- src/utest/SConscript | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/utest/configs/kernel/ipc.cfg b/examples/utest/configs/kernel/ipc.cfg index 89286caf6a4..8546032995f 100644 --- a/examples/utest/configs/kernel/ipc.cfg +++ b/examples/utest/configs/kernel/ipc.cfg @@ -5,7 +5,7 @@ CONFIG_RT_USING_CI_ACTION=y CONFIG_RT_UTEST_SEMAPHORE=y CONFIG_RT_UTEST_EVENT=y CONFIG_RT_UTEST_MESSAGEQUEUE=y -CONFIG_UTEST_SIGNAL_TC=y +CONFIG_RT_UTEST_SIGNAL=y CONFIG_UTEST_MUTEX_TC=y CONFIG_UTEST_MAILBOX_TC=y diff --git a/src/utest/Kconfig b/src/utest/Kconfig index 6f5d75ba00d..6d0face4543 100644 --- a/src/utest/Kconfig +++ b/src/utest/Kconfig @@ -43,7 +43,7 @@ config RT_UTEST_MESSAGEQUEUE bool "message queue test" default n -config UTEST_SIGNAL_TC +config RT_UTEST_SIGNAL bool "signal test" select RT_USING_SIGNALS default n diff --git a/src/utest/SConscript b/src/utest/SConscript index e8a716ac57a..5a652f4f2f9 100644 --- a/src/utest/SConscript +++ b/src/utest/SConscript @@ -32,7 +32,7 @@ if GetDepend(['RT_UTEST_TIMER']): if GetDepend(['RT_UTEST_MESSAGEQUEUE']): src += ['messagequeue_tc.c'] -if GetDepend(['UTEST_SIGNAL_TC']): +if GetDepend(['RT_UTEST_SIGNAL']): src += ['signal_tc.c'] if GetDepend(['UTEST_MUTEX_TC']): From 546d5ecf5ba3d32dc2ef367ce3c06366d98bdb8a Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 17:06:30 +0800 Subject: [PATCH 20/32] utest: UTEST_MUTEX_TC -> RT_UTEST_MUTEX Signed-off-by: Chen Wang --- examples/utest/configs/kernel/ipc.cfg | 2 +- src/utest/Kconfig | 2 +- src/utest/SConscript | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/utest/configs/kernel/ipc.cfg b/examples/utest/configs/kernel/ipc.cfg index 8546032995f..2dff349c312 100644 --- a/examples/utest/configs/kernel/ipc.cfg +++ b/examples/utest/configs/kernel/ipc.cfg @@ -6,7 +6,7 @@ CONFIG_RT_UTEST_SEMAPHORE=y CONFIG_RT_UTEST_EVENT=y CONFIG_RT_UTEST_MESSAGEQUEUE=y CONFIG_RT_UTEST_SIGNAL=y -CONFIG_UTEST_MUTEX_TC=y +CONFIG_RT_UTEST_MUTEX=y CONFIG_UTEST_MAILBOX_TC=y CONFIG_RT_USING_SEMAPHORE=y diff --git a/src/utest/Kconfig b/src/utest/Kconfig index 6d0face4543..b086edf0665 100644 --- a/src/utest/Kconfig +++ b/src/utest/Kconfig @@ -48,7 +48,7 @@ config RT_UTEST_SIGNAL select RT_USING_SIGNALS default n -config UTEST_MUTEX_TC +config RT_UTEST_MUTEX bool "mutex test" default n diff --git a/src/utest/SConscript b/src/utest/SConscript index 5a652f4f2f9..c3c6e9a7a22 100644 --- a/src/utest/SConscript +++ b/src/utest/SConscript @@ -35,7 +35,7 @@ if GetDepend(['RT_UTEST_MESSAGEQUEUE']): if GetDepend(['RT_UTEST_SIGNAL']): src += ['signal_tc.c'] -if GetDepend(['UTEST_MUTEX_TC']): +if GetDepend(['RT_UTEST_MUTEX']): src += ['mutex_tc.c', 'mutex_pi_tc.c'] if GetDepend(['UTEST_MAILBOX_TC']): From 50bf8b592b852dd10707087ade4f9e1e35d49e49 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 19:40:30 +0800 Subject: [PATCH 21/32] utest: UTEST_MAILBOX_TC -> RT_UTEST_MAILBOX Signed-off-by: Chen Wang --- examples/utest/configs/kernel/ipc.cfg | 2 +- src/utest/Kconfig | 2 +- src/utest/SConscript | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/utest/configs/kernel/ipc.cfg b/examples/utest/configs/kernel/ipc.cfg index 2dff349c312..3db6e14f8c9 100644 --- a/examples/utest/configs/kernel/ipc.cfg +++ b/examples/utest/configs/kernel/ipc.cfg @@ -7,7 +7,7 @@ CONFIG_RT_UTEST_EVENT=y CONFIG_RT_UTEST_MESSAGEQUEUE=y CONFIG_RT_UTEST_SIGNAL=y CONFIG_RT_UTEST_MUTEX=y -CONFIG_UTEST_MAILBOX_TC=y +CONFIG_RT_UTEST_MAILBOX=y CONFIG_RT_USING_SEMAPHORE=y CONFIG_RT_USING_EVENT=y diff --git a/src/utest/Kconfig b/src/utest/Kconfig index b086edf0665..12c5c9456d1 100644 --- a/src/utest/Kconfig +++ b/src/utest/Kconfig @@ -52,7 +52,7 @@ config RT_UTEST_MUTEX bool "mutex test" default n -config UTEST_MAILBOX_TC +config RT_UTEST_MAILBOX bool "mailbox test" default n diff --git a/src/utest/SConscript b/src/utest/SConscript index c3c6e9a7a22..31db2a94808 100644 --- a/src/utest/SConscript +++ b/src/utest/SConscript @@ -38,7 +38,7 @@ if GetDepend(['RT_UTEST_SIGNAL']): if GetDepend(['RT_UTEST_MUTEX']): src += ['mutex_tc.c', 'mutex_pi_tc.c'] -if GetDepend(['UTEST_MAILBOX_TC']): +if GetDepend(['RT_UTEST_MAILBOX']): src += ['mailbox_tc.c'] if GetDepend(['UTEST_THREAD_TC']): From 6ed7641812e80a82ef69c1f097c96d49078b9c99 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 19:41:09 +0800 Subject: [PATCH 22/32] utest: UTEST_THREAD_TC -> RT_UTEST_THREAD Signed-off-by: Chen Wang --- examples/utest/configs/kernel/kernel_basic.cfg | 2 +- src/utest/Kconfig | 2 +- src/utest/SConscript | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/utest/configs/kernel/kernel_basic.cfg b/examples/utest/configs/kernel/kernel_basic.cfg index 339ce6931a5..261cdcde0fc 100644 --- a/examples/utest/configs/kernel/kernel_basic.cfg +++ b/examples/utest/configs/kernel/kernel_basic.cfg @@ -4,7 +4,7 @@ CONFIG_RT_USING_CI_ACTION=y CONFIG_RT_UTEST_OBJECT=y CONFIG_RT_UTEST_IRQ=y -CONFIG_UTEST_THREAD_TC=y +CONFIG_RT_UTEST_THREAD=y CONFIG_RT_UTEST_DRIVERS_CORE=y CONFIG_UTEST_ATOMIC_TC=y CONFIG_UTEST_HOOKLIST_TC=y diff --git a/src/utest/Kconfig b/src/utest/Kconfig index 12c5c9456d1..b946d9caec7 100644 --- a/src/utest/Kconfig +++ b/src/utest/Kconfig @@ -56,7 +56,7 @@ config RT_UTEST_MAILBOX bool "mailbox test" default n -config UTEST_THREAD_TC +config RT_UTEST_THREAD bool "thread test" default n select RT_USING_TIMER_SOFT diff --git a/src/utest/SConscript b/src/utest/SConscript index 31db2a94808..385ceb9569a 100644 --- a/src/utest/SConscript +++ b/src/utest/SConscript @@ -41,7 +41,7 @@ if GetDepend(['RT_UTEST_MUTEX']): if GetDepend(['RT_UTEST_MAILBOX']): src += ['mailbox_tc.c'] -if GetDepend(['UTEST_THREAD_TC']): +if GetDepend(['RT_UTEST_THREAD']): src += ['thread_tc.c'] src += ['thread_overflow_tc.c'] src += ['thread_suspend_tc.c'] From ea81d1a56e78a876b75d67e2471fd2c7a6dc1e0d Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 19:42:22 +0800 Subject: [PATCH 23/32] utest: UTEST_ATOMIC_TC -> RT_UTEST_ATOMIC Signed-off-by: Chen Wang --- examples/utest/configs/kernel/atomic_c11.cfg | 2 +- examples/utest/configs/kernel/kernel_basic.cfg | 2 +- src/utest/Kconfig | 2 +- src/utest/SConscript | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/utest/configs/kernel/atomic_c11.cfg b/examples/utest/configs/kernel/atomic_c11.cfg index 394b81dd7ab..1ea6765289a 100644 --- a/examples/utest/configs/kernel/atomic_c11.cfg +++ b/examples/utest/configs/kernel/atomic_c11.cfg @@ -1,4 +1,4 @@ -CONFIG_UTEST_ATOMIC_TC=y +CONFIG_RT_UTEST_ATOMIC=y CONFIG_RT_USING_CI_ACTION=y # dependencies CONFIG_RT_USING_TIMER_SOFT=y diff --git a/examples/utest/configs/kernel/kernel_basic.cfg b/examples/utest/configs/kernel/kernel_basic.cfg index 261cdcde0fc..87159c7baec 100644 --- a/examples/utest/configs/kernel/kernel_basic.cfg +++ b/examples/utest/configs/kernel/kernel_basic.cfg @@ -6,7 +6,7 @@ CONFIG_RT_UTEST_OBJECT=y CONFIG_RT_UTEST_IRQ=y CONFIG_RT_UTEST_THREAD=y CONFIG_RT_UTEST_DRIVERS_CORE=y -CONFIG_UTEST_ATOMIC_TC=y +CONFIG_RT_UTEST_ATOMIC=y CONFIG_UTEST_HOOKLIST_TC=y CONFIG_UTEST_MTSAFE_KPRINT_TC=y CONFIG_UTEST_SCHEDULER_TC=y diff --git a/src/utest/Kconfig b/src/utest/Kconfig index b946d9caec7..4ae7bb1d376 100644 --- a/src/utest/Kconfig +++ b/src/utest/Kconfig @@ -62,7 +62,7 @@ config RT_UTEST_THREAD select RT_USING_TIMER_SOFT select RT_USING_THREAD -config UTEST_ATOMIC_TC +config RT_UTEST_ATOMIC bool "atomic test" default n diff --git a/src/utest/SConscript b/src/utest/SConscript index 385ceb9569a..800a246d123 100644 --- a/src/utest/SConscript +++ b/src/utest/SConscript @@ -46,7 +46,7 @@ if GetDepend(['RT_UTEST_THREAD']): src += ['thread_overflow_tc.c'] src += ['thread_suspend_tc.c'] -if GetDepend(['UTEST_ATOMIC_TC']): +if GetDepend(['RT_UTEST_ATOMIC']): src += ['atomic_tc.c'] if GetDepend(['UTEST_HOOKLIST_TC']): From b99b63af9a2e0e3b5cc97d53a26d577b8d66c3bb Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 19:54:38 +0800 Subject: [PATCH 24/32] utest: UTEST_HOOKLIST_TC -> RT_UTEST_HOOKLIST Signed-off-by: Chen Wang --- examples/utest/configs/kernel/kernel_basic.cfg | 2 +- src/utest/Kconfig | 2 +- src/utest/SConscript | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/utest/configs/kernel/kernel_basic.cfg b/examples/utest/configs/kernel/kernel_basic.cfg index 87159c7baec..d63bf237bdd 100644 --- a/examples/utest/configs/kernel/kernel_basic.cfg +++ b/examples/utest/configs/kernel/kernel_basic.cfg @@ -7,7 +7,7 @@ CONFIG_RT_UTEST_IRQ=y CONFIG_RT_UTEST_THREAD=y CONFIG_RT_UTEST_DRIVERS_CORE=y CONFIG_RT_UTEST_ATOMIC=y -CONFIG_UTEST_HOOKLIST_TC=y +CONFIG_RT_UTEST_HOOKLIST=y CONFIG_UTEST_MTSAFE_KPRINT_TC=y CONFIG_UTEST_SCHEDULER_TC=y diff --git a/src/utest/Kconfig b/src/utest/Kconfig index 4ae7bb1d376..a51da18b2a6 100644 --- a/src/utest/Kconfig +++ b/src/utest/Kconfig @@ -66,7 +66,7 @@ config RT_UTEST_ATOMIC bool "atomic test" default n -config UTEST_HOOKLIST_TC +config RT_UTEST_HOOKLIST bool "hook list test" select RT_USING_HOOKLIST default n diff --git a/src/utest/SConscript b/src/utest/SConscript index 800a246d123..2f48cb3b98b 100644 --- a/src/utest/SConscript +++ b/src/utest/SConscript @@ -49,7 +49,7 @@ if GetDepend(['RT_UTEST_THREAD']): if GetDepend(['RT_UTEST_ATOMIC']): src += ['atomic_tc.c'] -if GetDepend(['UTEST_HOOKLIST_TC']): +if GetDepend(['RT_UTEST_HOOKLIST']): src += ['hooklist_tc.c'] if GetDepend(['UTEST_MTSAFE_KPRINT_TC']): From 0c3fe38ab4571857d1964856c37abcf6095dc30e Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 19:55:58 +0800 Subject: [PATCH 25/32] utest: UTEST_MTSAFE_KPRINT_TC -> RT_UTEST_MTSAFE_KPRINT Signed-off-by: Chen Wang --- examples/utest/configs/kernel/kernel_basic.cfg | 2 +- src/utest/Kconfig | 2 +- src/utest/SConscript | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/utest/configs/kernel/kernel_basic.cfg b/examples/utest/configs/kernel/kernel_basic.cfg index d63bf237bdd..3e0bf186d21 100644 --- a/examples/utest/configs/kernel/kernel_basic.cfg +++ b/examples/utest/configs/kernel/kernel_basic.cfg @@ -8,7 +8,7 @@ CONFIG_RT_UTEST_THREAD=y CONFIG_RT_UTEST_DRIVERS_CORE=y CONFIG_RT_UTEST_ATOMIC=y CONFIG_RT_UTEST_HOOKLIST=y -CONFIG_UTEST_MTSAFE_KPRINT_TC=y +CONFIG_RT_UTEST_MTSAFE_KPRINT=y CONFIG_UTEST_SCHEDULER_TC=y CONFIG_UTEST_THR_STACK_SIZE=8192 \ No newline at end of file diff --git a/src/utest/Kconfig b/src/utest/Kconfig index a51da18b2a6..ab386c511e1 100644 --- a/src/utest/Kconfig +++ b/src/utest/Kconfig @@ -71,7 +71,7 @@ config RT_UTEST_HOOKLIST select RT_USING_HOOKLIST default n -config UTEST_MTSAFE_KPRINT_TC +config RT_UTEST_MTSAFE_KPRINT bool "mtsafe kprint test" default n diff --git a/src/utest/SConscript b/src/utest/SConscript index 2f48cb3b98b..43750a5b4a9 100644 --- a/src/utest/SConscript +++ b/src/utest/SConscript @@ -52,7 +52,7 @@ if GetDepend(['RT_UTEST_ATOMIC']): if GetDepend(['RT_UTEST_HOOKLIST']): src += ['hooklist_tc.c'] -if GetDepend(['UTEST_MTSAFE_KPRINT_TC']): +if GetDepend(['RT_UTEST_MTSAFE_KPRINT']): src += ['mtsafe_kprint_tc.c'] if GetDepend(['UTEST_MEMPOOL_TC']): From ee35f08ba46c62e148f21b856c856c87b93d0132 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 19:58:09 +0800 Subject: [PATCH 26/32] utest: UTEST_SCHEDULER_TC -> RT_UTEST_SCHEDULER Signed-off-by: Chen Wang --- bsp/raspberry-pi/raspi-dm2.0/.config | 2 +- bsp/raspberry-pi/raspi-dm2.0/rtconfig.h | 2 +- examples/utest/configs/kernel/kernel_basic.cfg | 2 +- src/utest/Kconfig | 2 +- src/utest/SConscript | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bsp/raspberry-pi/raspi-dm2.0/.config b/bsp/raspberry-pi/raspi-dm2.0/.config index a6e97b7c45c..98dcaa7434e 100644 --- a/bsp/raspberry-pi/raspi-dm2.0/.config +++ b/bsp/raspberry-pi/raspi-dm2.0/.config @@ -654,7 +654,7 @@ CONFIG_RT_USING_UTESTCASES=y # CONFIG_UTEST_ATOMIC_TC is not set # CONFIG_UTEST_HOOKLIST_TC is not set # CONFIG_UTEST_MTSAFE_KPRINT_TC is not set -CONFIG_UTEST_SCHEDULER_TC=y +CONFIG_RT_UTEST_SCHEDULER=y # # Kernel SMP Testcase diff --git a/bsp/raspberry-pi/raspi-dm2.0/rtconfig.h b/bsp/raspberry-pi/raspi-dm2.0/rtconfig.h index c67eea6cf79..f98fba483d4 100644 --- a/bsp/raspberry-pi/raspi-dm2.0/rtconfig.h +++ b/bsp/raspberry-pi/raspi-dm2.0/rtconfig.h @@ -417,7 +417,7 @@ /* Kernel Testcase */ -#define UTEST_SCHEDULER_TC +#define RT_UTEST_SCHEDULER /* Kernel SMP Testcase */ diff --git a/examples/utest/configs/kernel/kernel_basic.cfg b/examples/utest/configs/kernel/kernel_basic.cfg index 3e0bf186d21..d378e0ac7fa 100644 --- a/examples/utest/configs/kernel/kernel_basic.cfg +++ b/examples/utest/configs/kernel/kernel_basic.cfg @@ -9,6 +9,6 @@ CONFIG_RT_UTEST_DRIVERS_CORE=y CONFIG_RT_UTEST_ATOMIC=y CONFIG_RT_UTEST_HOOKLIST=y CONFIG_RT_UTEST_MTSAFE_KPRINT=y -CONFIG_UTEST_SCHEDULER_TC=y +CONFIG_RT_UTEST_SCHEDULER=y CONFIG_UTEST_THR_STACK_SIZE=8192 \ No newline at end of file diff --git a/src/utest/Kconfig b/src/utest/Kconfig index ab386c511e1..6fee9e86260 100644 --- a/src/utest/Kconfig +++ b/src/utest/Kconfig @@ -75,7 +75,7 @@ config RT_UTEST_MTSAFE_KPRINT bool "mtsafe kprint test" default n -config UTEST_SCHEDULER_TC +config RT_UTEST_SCHEDULER bool "scheduler test" default n diff --git a/src/utest/SConscript b/src/utest/SConscript index 43750a5b4a9..88ff9f54bc0 100644 --- a/src/utest/SConscript +++ b/src/utest/SConscript @@ -59,7 +59,7 @@ if GetDepend(['UTEST_MEMPOOL_TC']): src += ['mempool_tc.c'] # Stressful testcase for scheduler (MP/UP) -if GetDepend(['UTEST_SCHEDULER_TC']): +if GetDepend(['RT_UTEST_SCHEDULER']): src += ['sched_timed_sem_tc.c'] src += ['sched_timed_mtx_tc.c'] src += ['sched_mtx_tc.c'] From 6874b4a718dde9b304cb7ab137b6342285a30116 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 19:59:28 +0800 Subject: [PATCH 27/32] utest: UTEST_SMP_AFFFINITY_TC -> RT_UTEST_SMP_AFFFINITY Signed-off-by: Chen Wang --- src/utest/smp/Kconfig | 2 +- src/utest/smp/SConscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utest/smp/Kconfig b/src/utest/smp/Kconfig index e7450b477fd..29057b90d12 100644 --- a/src/utest/smp/Kconfig +++ b/src/utest/smp/Kconfig @@ -1,6 +1,6 @@ menu "Kernel SMP Testcase" -config UTEST_SMP_AFFFINITY_TC +config RT_UTEST_SMP_AFFFINITY bool "smp affinity and thread priority test1" default n diff --git a/src/utest/smp/SConscript b/src/utest/smp/SConscript index a15753f7be3..99b1cfbb49a 100644 --- a/src/utest/smp/SConscript +++ b/src/utest/smp/SConscript @@ -17,7 +17,7 @@ if GetDepend(['UTEST_SMP_INTERRUPT_PRI_TC']): if GetDepend(['UTEST_SMP_THREAD_PREEMPTION_TC']): src += ['smp_thread_preemption_tc.c'] -if GetDepend(['UTEST_SMP_AFFFINITY_TC']): +if GetDepend(['RT_UTEST_SMP_AFFFINITY']): src += ['smp_bind_affinity_tc.c'] src += ['smp_affinity_pri1_tc.c'] src += ['smp_affinity_pri2_tc.c'] From 873de26fab852d09f6e0284f45ee98592b07616c Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 20:00:58 +0800 Subject: [PATCH 28/32] utest: UTEST_SMP_ASSIGNED_IDLE_CORE_TC -> RT_UTEST_SMP_ASSIGNED_IDLE_CORE Signed-off-by: Chen Wang --- src/utest/smp/Kconfig | 2 +- src/utest/smp/SConscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utest/smp/Kconfig b/src/utest/smp/Kconfig index 29057b90d12..67576e74300 100644 --- a/src/utest/smp/Kconfig +++ b/src/utest/smp/Kconfig @@ -4,7 +4,7 @@ config RT_UTEST_SMP_AFFFINITY bool "smp affinity and thread priority test1" default n -config UTEST_SMP_ASSIGNED_IDLE_CORE_TC +config RT_UTEST_SMP_ASSIGNED_IDLE_CORE bool "smp threads auto assign to idle cores for test" default n diff --git a/src/utest/smp/SConscript b/src/utest/smp/SConscript index 99b1cfbb49a..bf0adad7684 100644 --- a/src/utest/smp/SConscript +++ b/src/utest/smp/SConscript @@ -8,7 +8,7 @@ CPPPATH = [cwd] if GetDepend(['UTEST_SMP_SPINLOCK_TC']): src += ['smp_spinlock_tc.c'] -if GetDepend(['UTEST_SMP_ASSIGNED_IDLE_CORE_TC']): +if GetDepend(['RT_UTEST_SMP_ASSIGNED_IDLE_CORE']): src += ['smp_assigned_idle_cores_tc.c'] if GetDepend(['UTEST_SMP_INTERRUPT_PRI_TC']): From dedc37dbd3f0d9b41915cf9ed7cb4567d97f0432 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 20:02:23 +0800 Subject: [PATCH 29/32] utest: UTEST_SMP_INTERRUPT_PRI_TC -> RT_UTEST_SMP_INTERRUPT_PRI Signed-off-by: Chen Wang --- src/utest/smp/Kconfig | 2 +- src/utest/smp/SConscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utest/smp/Kconfig b/src/utest/smp/Kconfig index 67576e74300..18d964df38f 100644 --- a/src/utest/smp/Kconfig +++ b/src/utest/smp/Kconfig @@ -8,7 +8,7 @@ config RT_UTEST_SMP_ASSIGNED_IDLE_CORE bool "smp threads auto assign to idle cores for test" default n -config UTEST_SMP_INTERRUPT_PRI_TC +config RT_UTEST_SMP_INTERRUPT_PRI bool "smp interrupt priority test" default n diff --git a/src/utest/smp/SConscript b/src/utest/smp/SConscript index bf0adad7684..1a28ddffa81 100644 --- a/src/utest/smp/SConscript +++ b/src/utest/smp/SConscript @@ -11,7 +11,7 @@ if GetDepend(['UTEST_SMP_SPINLOCK_TC']): if GetDepend(['RT_UTEST_SMP_ASSIGNED_IDLE_CORE']): src += ['smp_assigned_idle_cores_tc.c'] -if GetDepend(['UTEST_SMP_INTERRUPT_PRI_TC']): +if GetDepend(['RT_UTEST_SMP_INTERRUPT_PRI']): src += ['smp_interrupt_pri_tc.c'] if GetDepend(['UTEST_SMP_THREAD_PREEMPTION_TC']): From e8f891ac7e590b2118b4eb279bb3d1fae26cc31c Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 20:03:26 +0800 Subject: [PATCH 30/32] utest: UTEST_SMP_SPINLOCK_TC -> RT_UTEST_SMP_SPINLOCK Signed-off-by: Chen Wang --- src/utest/smp/Kconfig | 2 +- src/utest/smp/SConscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utest/smp/Kconfig b/src/utest/smp/Kconfig index 18d964df38f..2fdd5d57dd6 100644 --- a/src/utest/smp/Kconfig +++ b/src/utest/smp/Kconfig @@ -12,7 +12,7 @@ config RT_UTEST_SMP_INTERRUPT_PRI bool "smp interrupt priority test" default n -config UTEST_SMP_SPINLOCK_TC +config RT_UTEST_SMP_SPINLOCK bool "smp spinlock test" default n diff --git a/src/utest/smp/SConscript b/src/utest/smp/SConscript index 1a28ddffa81..badb27131eb 100644 --- a/src/utest/smp/SConscript +++ b/src/utest/smp/SConscript @@ -5,7 +5,7 @@ cwd = GetCurrentDir() src = [] CPPPATH = [cwd] -if GetDepend(['UTEST_SMP_SPINLOCK_TC']): +if GetDepend(['RT_UTEST_SMP_SPINLOCK']): src += ['smp_spinlock_tc.c'] if GetDepend(['RT_UTEST_SMP_ASSIGNED_IDLE_CORE']): From 8ba47a4a22250efbcbaed26ae1ba01254d396213 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Mon, 13 Oct 2025 20:04:39 +0800 Subject: [PATCH 31/32] utest: UTEST_SMP_THREAD_PREEMPTION_TC -> RT_UTEST_SMP_THREAD_PREEMPTION Signed-off-by: Chen Wang --- src/utest/smp/Kconfig | 2 +- src/utest/smp/SConscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utest/smp/Kconfig b/src/utest/smp/Kconfig index 2fdd5d57dd6..5900fcdf0b7 100644 --- a/src/utest/smp/Kconfig +++ b/src/utest/smp/Kconfig @@ -16,7 +16,7 @@ config RT_UTEST_SMP_SPINLOCK bool "smp spinlock test" default n -config UTEST_SMP_THREAD_PREEMPTION_TC +config RT_UTEST_SMP_THREAD_PREEMPTION bool "smp threads preemption test" default n diff --git a/src/utest/smp/SConscript b/src/utest/smp/SConscript index badb27131eb..5a91d05dbe3 100644 --- a/src/utest/smp/SConscript +++ b/src/utest/smp/SConscript @@ -14,7 +14,7 @@ if GetDepend(['RT_UTEST_SMP_ASSIGNED_IDLE_CORE']): if GetDepend(['RT_UTEST_SMP_INTERRUPT_PRI']): src += ['smp_interrupt_pri_tc.c'] -if GetDepend(['UTEST_SMP_THREAD_PREEMPTION_TC']): +if GetDepend(['RT_UTEST_SMP_THREAD_PREEMPTION']): src += ['smp_thread_preemption_tc.c'] if GetDepend(['RT_UTEST_SMP_AFFFINITY']): From a523ea6baa5f2589f3e8c3fcb18047bc57640efe Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Tue, 14 Oct 2025 10:10:38 +0800 Subject: [PATCH 32/32] doxygen: update doc for utest for config naming rule Configuration options naming rule for utest is changed from "RT_UTEST_TC_USING_XXXX" to "RT_UTEST_XXXX". Signed-off-by: Chen Wang --- documentation/6.components/utest/utest.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/6.components/utest/utest.md b/documentation/6.components/utest/utest.md index 713adfbb14d..81781e19ae9 100644 --- a/documentation/6.components/utest/utest.md +++ b/documentation/6.components/utest/utest.md @@ -312,9 +312,9 @@ For each module, you can maintain unit testcases in a unified manner in the foll - Unit-testcase program source code files for this module. - - `Kconfig` file, which defining configuration options for the unit test cases of this module, the recommended option is named `RT_UTEST_TC_USING_XXXX`, XXXX is the global unique module name of this module. + - `Kconfig` file, which defining configuration options for the unit test cases of this module, the recommended option is named `RT_UTEST_XXXX`, XXXX is the global unique module name of this module. - - `SConscript` file, when adding src files, you need to rely on `RT_UTEST_TC_USING_XXXX`. + - `SConscript` file, when adding src files, you need to rely on `RT_UTEST_XXXX`. After completing the above steps, rsource the path of the Kconfig file of utest of this module to the file `Kconfig.utestcases`.