mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-23 12:15:32 +08:00
utest: reorg menu items
The original project display was completely flat, now it is organized into a tree-like hierarchical structure based on the layout of the code. mm & tmpfs test are still keep as pervious bcos we have not move the source for these two components. Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
This commit is contained in:
+24
-18
@@ -1,27 +1,33 @@
|
||||
menu "RT-Thread Utestcases"
|
||||
|
||||
config RT_USING_UTESTCASES
|
||||
bool "RT-Thread Utestcases"
|
||||
default n
|
||||
select RT_USING_UTEST
|
||||
config RT_USING_UTESTCASES
|
||||
bool "RT-Thread Utestcases"
|
||||
default n
|
||||
select RT_USING_UTEST
|
||||
|
||||
if RT_USING_UTESTCASES
|
||||
if RT_USING_UTESTCASES
|
||||
|
||||
rsource "components/utilities/utest/utest/Kconfig"
|
||||
rsource "src/utest/Kconfig"
|
||||
rsource "examples/utest/testcases/mm/Kconfig"
|
||||
rsource "examples/utest/testcases/tmpfs/Kconfig"
|
||||
rsource "src/utest/Kconfig"
|
||||
|
||||
rsource "src/klibc/utest/Kconfig"
|
||||
menu "Components"
|
||||
|
||||
rsource "components/drivers/core/utest/Kconfig"
|
||||
rsource "components/drivers/audio/utest/Kconfig"
|
||||
rsource "components/drivers/ipc/utest/Kconfig"
|
||||
rsource "components/drivers/serial/utest/Kconfig"
|
||||
rsource "components/drivers/smp_call/utest/Kconfig"
|
||||
rsource "components/dfs/utest/Kconfig"
|
||||
rsource "components/net/utest/Kconfig"
|
||||
rsource "components/libc/cplusplus/utest/Kconfig"
|
||||
menu "Drivers"
|
||||
rsource "components/drivers/core/utest/Kconfig"
|
||||
rsource "components/drivers/audio/utest/Kconfig"
|
||||
rsource "components/drivers/ipc/utest/Kconfig"
|
||||
rsource "components/drivers/serial/utest/Kconfig"
|
||||
rsource "components/drivers/smp_call/utest/Kconfig"
|
||||
endmenu
|
||||
|
||||
rsource "components/dfs/utest/Kconfig"
|
||||
rsource "components/libc/cplusplus/utest/Kconfig"
|
||||
rsource "components/net/utest/Kconfig"
|
||||
rsource "components/utilities/utest/utest/Kconfig"
|
||||
|
||||
endmenu
|
||||
|
||||
rsource "examples/utest/testcases/mm/Kconfig"
|
||||
rsource "examples/utest/testcases/tmpfs/Kconfig"
|
||||
|
||||
endif
|
||||
|
||||
|
||||
+71
-70
@@ -1,93 +1,94 @@
|
||||
menu "Kernel Testcase"
|
||||
|
||||
config RT_UTEST_MEMHEAP
|
||||
bool "memheap stability test"
|
||||
default n
|
||||
depends on RT_USING_MEMHEAP
|
||||
config RT_UTEST_MEMHEAP
|
||||
bool "memheap stability test"
|
||||
default n
|
||||
depends on RT_USING_MEMHEAP
|
||||
|
||||
config RT_UTEST_SMALL_MEM
|
||||
bool "mem test"
|
||||
default n
|
||||
depends on RT_USING_SMALL_MEM
|
||||
config RT_UTEST_SMALL_MEM
|
||||
bool "mem test"
|
||||
default n
|
||||
depends on RT_USING_SMALL_MEM
|
||||
|
||||
config RT_UTEST_OBJECT
|
||||
select RT_USING_DEVICE
|
||||
select RT_USING_SEMAPHORE
|
||||
bool "object test"
|
||||
default n
|
||||
config RT_UTEST_OBJECT
|
||||
select RT_USING_DEVICE
|
||||
select RT_USING_SEMAPHORE
|
||||
bool "object test"
|
||||
default n
|
||||
|
||||
config RT_UTEST_SLAB
|
||||
bool "slab test"
|
||||
default n
|
||||
depends on RT_USING_SLAB
|
||||
config RT_UTEST_SLAB
|
||||
bool "slab test"
|
||||
default n
|
||||
depends on RT_USING_SLAB
|
||||
|
||||
config RT_UTEST_IRQ
|
||||
bool "IRQ test"
|
||||
default n
|
||||
config RT_UTEST_IRQ
|
||||
bool "IRQ test"
|
||||
default n
|
||||
|
||||
config RT_UTEST_SEMAPHORE
|
||||
bool "semaphore test"
|
||||
default n
|
||||
depends on RT_USING_SEMAPHORE
|
||||
config RT_UTEST_SEMAPHORE
|
||||
bool "semaphore test"
|
||||
default n
|
||||
depends on RT_USING_SEMAPHORE
|
||||
|
||||
config RT_UTEST_EVENT
|
||||
bool "event test"
|
||||
default n
|
||||
depends on RT_USING_EVENT
|
||||
config RT_UTEST_EVENT
|
||||
bool "event test"
|
||||
default n
|
||||
depends on RT_USING_EVENT
|
||||
|
||||
config RT_UTEST_TIMER
|
||||
bool "timer test"
|
||||
default n
|
||||
config RT_UTEST_TIMER
|
||||
bool "timer test"
|
||||
default n
|
||||
|
||||
config RT_UTEST_MESSAGEQUEUE
|
||||
bool "message queue test"
|
||||
default n
|
||||
config RT_UTEST_MESSAGEQUEUE
|
||||
bool "message queue test"
|
||||
default n
|
||||
|
||||
config RT_UTEST_SIGNAL
|
||||
bool "signal test"
|
||||
select RT_USING_SIGNALS
|
||||
default n
|
||||
config RT_UTEST_SIGNAL
|
||||
bool "signal test"
|
||||
select RT_USING_SIGNALS
|
||||
default n
|
||||
|
||||
config RT_UTEST_MUTEX
|
||||
bool "mutex test"
|
||||
default n
|
||||
config RT_UTEST_MUTEX
|
||||
bool "mutex test"
|
||||
default n
|
||||
|
||||
config RT_UTEST_MAILBOX
|
||||
bool "mailbox test"
|
||||
default n
|
||||
config RT_UTEST_MAILBOX
|
||||
bool "mailbox test"
|
||||
default n
|
||||
|
||||
config RT_UTEST_THREAD
|
||||
bool "thread test"
|
||||
default n
|
||||
select RT_USING_TIMER_SOFT
|
||||
select RT_USING_THREAD
|
||||
config RT_UTEST_THREAD
|
||||
bool "thread test"
|
||||
default n
|
||||
select RT_USING_TIMER_SOFT
|
||||
select RT_USING_THREAD
|
||||
|
||||
config RT_UTEST_ATOMIC
|
||||
bool "atomic test"
|
||||
default n
|
||||
config RT_UTEST_ATOMIC
|
||||
bool "atomic test"
|
||||
default n
|
||||
|
||||
config RT_UTEST_HOOKLIST
|
||||
bool "hook list test"
|
||||
select RT_USING_HOOKLIST
|
||||
default n
|
||||
config RT_UTEST_HOOKLIST
|
||||
bool "hook list test"
|
||||
select RT_USING_HOOKLIST
|
||||
default n
|
||||
|
||||
config RT_UTEST_MTSAFE_KPRINT
|
||||
bool "mtsafe kprint test"
|
||||
default n
|
||||
config RT_UTEST_MTSAFE_KPRINT
|
||||
bool "mtsafe kprint test"
|
||||
default n
|
||||
|
||||
config RT_UTEST_SCHEDULER
|
||||
bool "scheduler test"
|
||||
default n
|
||||
config RT_UTEST_SCHEDULER
|
||||
bool "scheduler test"
|
||||
default n
|
||||
|
||||
config UTEST_MEMPOOL_TC
|
||||
bool "mempool test"
|
||||
default n
|
||||
depends on RT_USING_MEMPOOL
|
||||
config UTEST_MEMPOOL_TC
|
||||
bool "mempool test"
|
||||
default n
|
||||
depends on RT_USING_MEMPOOL
|
||||
|
||||
rsource "perf/Kconfig"
|
||||
rsource "perf/Kconfig"
|
||||
rsource "../klibc/utest/Kconfig"
|
||||
|
||||
if RT_USING_SMP
|
||||
rsource "smp/Kconfig"
|
||||
endif
|
||||
if RT_USING_SMP
|
||||
rsource "smp/Kconfig"
|
||||
endif
|
||||
|
||||
endmenu
|
||||
|
||||
Reference in New Issue
Block a user