mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-07-05 19:30:07 +08:00
skip oneshot timer test
Signed-off-by: liugui <liugui@xiaomi.com> Signed-off-by: buxiasen <buxiasen@xiaomi.com>
This commit is contained in:
parent
0b03ca1538
commit
9353bcefa2
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user