The epoll_wait functions need the rest of the epoll functions (create, ctl) to be available to actually test them, as well as pipe to create a usable file descriptor. This patch adds epoll_create, epoll_create1, epoll_ctl, and pipe. These have tests, and the tests for epoll_wait, epoll_pwait, and epoll_pwait2 (currently disabled) are updated to use these newly available functions.
84 lines
843 B
CMake
84 lines
843 B
CMake
add_header(
|
|
fcntl_macros
|
|
HDR
|
|
fcntl-macros.h
|
|
)
|
|
|
|
add_header(
|
|
sched_macros
|
|
HDR
|
|
sched-macros.h
|
|
)
|
|
|
|
add_header(
|
|
sys_epoll_macros
|
|
HDR
|
|
sys-epoll-macros.h
|
|
)
|
|
|
|
add_header(
|
|
sys_ioctl_macros
|
|
HDR
|
|
sys-ioctl-macros.h
|
|
)
|
|
|
|
add_header(
|
|
sys_random_macros
|
|
HDR
|
|
sys-random-macros.h
|
|
)
|
|
|
|
add_header(
|
|
sys_socket_macros
|
|
HDR
|
|
sys-socket-macros.h
|
|
)
|
|
|
|
add_header(
|
|
sys_wait_macros
|
|
HDR
|
|
sys-wait-macros.h
|
|
)
|
|
|
|
add_header(
|
|
time_macros
|
|
HDR
|
|
time-macros.h
|
|
)
|
|
|
|
add_header(
|
|
sys_resource_macros
|
|
HDR
|
|
sys-resource-macros.h
|
|
)
|
|
|
|
add_header(
|
|
sys_stat_macros
|
|
HDR
|
|
sys-stat-macros.h
|
|
)
|
|
|
|
add_header(
|
|
sys_time_macros
|
|
HDR
|
|
sys-time-macros.h
|
|
)
|
|
|
|
add_header(
|
|
unistd_macros
|
|
HDR
|
|
unistd-macros.h
|
|
)
|
|
|
|
add_header(
|
|
signal_macros
|
|
HDR
|
|
signal-macros.h
|
|
)
|
|
|
|
add_header(
|
|
termios_macros
|
|
HDR
|
|
termios-macros.h
|
|
)
|