blob: 30c6f7700c21fc5e8b5e531e630845055fc292eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $OpenBSD: Makefile,v 1.8 2021/12/27 14:29:54 visa Exp $
PROGS= poll_close poll_iocond poll_regevent pollnval pollretval
LDADD= -lpthread -lutil
WARNINGS= yes
REGRESS_TARGETS+= run-regress-poll_close
REGRESS_TARGETS+= run-regress-poll_regevent
REGRESS_TARGETS+= run-regress-pollnval
REGRESS_TARGETS+= run-regress-pollretval
IOCOND_TESTS= fifo pipe pty socket-tcp socket-udp socket-unix
.for t in ${IOCOND_TESTS}
run-regress-poll_iocond-${t}: poll_iocond
./poll_iocond ${t}
REGRESS_TARGETS+= run-regress-poll_iocond-${t}
.endfor
CLEANFILES+= iocond_fifo
# pty test expects kqueue backend which sets POLLIN on HUP.
REGRESS_EXPECTED_FAILURES+= run-regress-poll_iocond-pty
.include <bsd.regress.mk>
|