summaryrefslogtreecommitdiff
path: root/regress/sys/kern/select/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/kern/select/Makefile')
-rw-r--r--regress/sys/kern/select/Makefile17
1 files changed, 14 insertions, 3 deletions
diff --git a/regress/sys/kern/select/Makefile b/regress/sys/kern/select/Makefile
index b66af2368bf..028aa1334e5 100644
--- a/regress/sys/kern/select/Makefile
+++ b/regress/sys/kern/select/Makefile
@@ -1,7 +1,18 @@
-# $OpenBSD: Makefile,v 1.2 2021/11/29 16:11:46 visa Exp $
+# $OpenBSD: Makefile,v 1.3 2021/12/24 10:25:36 visa Exp $
-PROGS= select_close select_regevent
-LDADD= -lpthread
+PROGS= select_close select_iocond select_regevent
+LDADD= -lpthread -lutil
WARNINGS= yes
+REGRESS_TARGETS+= run-regress-select_close
+REGRESS_TARGETS+= run-regress-select_regevent
+
+IOCOND_TESTS= fifo pipe pty socket-tcp socket-udp socket-unix
+.for t in ${IOCOND_TESTS}
+run-regress-select_iocond-${t}: select_iocond
+ ./select_iocond ${t}
+REGRESS_TARGETS+= run-regress-select_iocond-${t}
+.endfor
+CLEANFILES+= iocond_fifo
+
.include <bsd.regress.mk>