d6522be9b5
This commid add an epoll testcase to test the epoll Test case 1: epoll_wait timeout test. Test case 2: epoll_wait with driver call poll_notify() many times simultaneously. Test case 3: epoll_wait with some driver/socket need call poll_setup() again when it's internal state changed. Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
24 lines
464 B
Plaintext
24 lines
464 B
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
config TESTING_EPOLL
|
|
tristate "cmocka epoll test"
|
|
default n
|
|
depends on TESTING_CMOCKA && TIMER_FD && NET_LOCAL
|
|
---help---
|
|
Enable the cmocka driver test
|
|
|
|
if TESTING_EPOLL
|
|
|
|
config TESTING_EPOLL_PRIORITY
|
|
int "Task priority"
|
|
default 100
|
|
|
|
config TESTING_EPOLL_STACKSIZE
|
|
int "Stack size"
|
|
default DEFAULT_TASK_STACKSIZE
|
|
|
|
endif
|