skip oneshot timer test

Signed-off-by: liugui <liugui@xiaomi.com>
Signed-off-by: buxiasen <buxiasen@xiaomi.com>
This commit is contained in:
liugui 2024-09-14 11:42:38 +08:00 committed by Xiang Xiao
parent 0b03ca1538
commit 9353bcefa2
3 changed files with 6 additions and 2 deletions

View File

@ -85,7 +85,7 @@ if(CONFIG_TESTING_DRIVER_TEST)
drivertest_timer.c) drivertest_timer.c)
endif() endif()
if(CONFIG_ONESHOT) if(CONFIG_TESTING_ONESHOT_TEST)
nuttx_add_application( nuttx_add_application(
NAME NAME
cmocka_driver_oneshot cmocka_driver_oneshot

View File

@ -24,4 +24,8 @@ config TESTING_DRIVER_TEST_SIMPLE
bool "Enable cmocka driver simple test" bool "Enable cmocka driver simple test"
default n default n
config TESTING_ONESHOT_TEST
bool "Enable cmocka oneshot test"
default n
depends on ONESHOT
endif endif

View File

@ -47,7 +47,7 @@ MAINSRC += drivertest_timer.c
PROGNAME += cmocka_driver_timer PROGNAME += cmocka_driver_timer
endif endif
ifneq ($(CONFIG_ONESHOT),) ifneq ($(CONFIG_TESTING_ONESHOT_TEST),)
MAINSRC += drivertest_oneshot.c MAINSRC += drivertest_oneshot.c
PROGNAME += cmocka_driver_oneshot PROGNAME += cmocka_driver_oneshot
endif endif