Skip to content

Commit 9353bce

Browse files
liuguixiaoxiang781216
authored andcommitted
skip oneshot timer test
Signed-off-by: liugui <liugui@xiaomi.com> Signed-off-by: buxiasen <buxiasen@xiaomi.com>
1 parent 0b03ca1 commit 9353bce

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

testing/drivertest/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ if(CONFIG_TESTING_DRIVER_TEST)
8585
drivertest_timer.c)
8686
endif()
8787

88-
if(CONFIG_ONESHOT)
88+
if(CONFIG_TESTING_ONESHOT_TEST)
8989
nuttx_add_application(
9090
NAME
9191
cmocka_driver_oneshot

testing/drivertest/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,8 @@ config TESTING_DRIVER_TEST_SIMPLE
2424
bool "Enable cmocka driver simple test"
2525
default n
2626

27+
config TESTING_ONESHOT_TEST
28+
bool "Enable cmocka oneshot test"
29+
default n
30+
depends on ONESHOT
2731
endif

testing/drivertest/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ MAINSRC += drivertest_timer.c
4747
PROGNAME += cmocka_driver_timer
4848
endif
4949

50-
ifneq ($(CONFIG_ONESHOT),)
50+
ifneq ($(CONFIG_TESTING_ONESHOT_TEST),)
5151
MAINSRC += drivertest_oneshot.c
5252
PROGNAME += cmocka_driver_oneshot
5353
endif

0 commit comments

Comments
 (0)