xref: /openbsd-src/regress/sys/kern/poll/Makefile (revision a94014fa4850eb28d648ace9514fcdbb4208e4de)
1#	$OpenBSD: Makefile,v 1.11 2023/02/19 10:40:34 anton Exp $
2
3PROGS=		poll_close poll_iocond poll_regevent pollnval pollretval
4LDADD=		-lpthread -lutil
5WARNINGS=	yes
6
7REGRESS_TARGETS+=	run-regress-poll_close
8REGRESS_TARGETS+=	run-regress-poll_regevent
9REGRESS_TARGETS+=	run-regress-pollnval
10REGRESS_TARGETS+=	run-regress-pollretval
11
12IOCOND_TESTS=		fifo pipe pty socket-tcp socket-udp socket-unix
13.for t in ${IOCOND_TESTS}
14run-regress-poll_iocond-${t}: poll_iocond
15	#./poll_iocond ${t}
16	@echo Disabled for now, some of the tests are unreliable.
17	@echo DISABLED
18REGRESS_TARGETS+=	run-regress-poll_iocond-${t}
19.endfor
20CLEANFILES+=		iocond_fifo
21
22.include <bsd.regress.mk>
23