File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ if(CONFIG_TESTING_DRIVER_TEST)
85
85
drivertest_timer.c)
86
86
endif ()
87
87
88
- if (CONFIG_ONESHOT )
88
+ if (CONFIG_TESTING_ONESHOT_TEST )
89
89
nuttx_add_application(
90
90
NAME
91
91
cmocka_driver_oneshot
Original file line number Diff line number Diff line change @@ -24,4 +24,8 @@ config TESTING_DRIVER_TEST_SIMPLE
24
24
bool "Enable cmocka driver simple test"
25
25
default n
26
26
27
+ config TESTING_ONESHOT_TEST
28
+ bool "Enable cmocka oneshot test"
29
+ default n
30
+ depends on ONESHOT
27
31
endif
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ MAINSRC += drivertest_timer.c
47
47
PROGNAME += cmocka_driver_timer
48
48
endif
49
49
50
- ifneq ($(CONFIG_ONESHOT ) ,)
50
+ ifneq ($(CONFIG_TESTING_ONESHOT_TEST ) ,)
51
51
MAINSRC += drivertest_oneshot.c
52
52
PROGNAME += cmocka_driver_oneshot
53
53
endif
You can’t perform that action at this time.
0 commit comments