summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranton <anton@openbsd.org>2019-02-01 07:15:01 +0000
committeranton <anton@openbsd.org>2019-02-01 07:15:01 +0000
commitc5e1cbb36ea989b030be41938c97331264c3b46f (patch)
treecaebfc430979a2a610bd150f87e3328271eafd3b
parentIn wskbdclose(), use the same logic as in wskbdopen() to determine if (diff)
downloadwireguard-openbsd-c5e1cbb36ea989b030be41938c97331264c3b46f.tar.xz
wireguard-openbsd-c5e1cbb36ea989b030be41938c97331264c3b46f.zip
make it easier to ignore incompatible device and test case combinations
-rw-r--r--regress/sys/dev/wscons/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/regress/sys/dev/wscons/Makefile b/regress/sys/dev/wscons/Makefile
index 92a5a763390..989a467390c 100644
--- a/regress/sys/dev/wscons/Makefile
+++ b/regress/sys/dev/wscons/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 2018/12/17 19:29:55 anton Exp $
+# $OpenBSD: Makefile,v 1.7 2019/02/01 07:15:01 anton Exp $
WARNINGS= yes
@@ -16,11 +16,13 @@ TESTS_sigio+= setown-ioctl
TESTS_sigio+= spgrp
TESTS_sigio+= sigio
+# SIGIO using event injection is limited to wsmux devices.
+IGNORE_sigio+= wskbd0-sigio
+IGNORE_sigio+= wsmouse0-sigio
+
.for d in ${DEVICES}
. for t in ${TESTS_sigio}
-. if "$t" == "sigio" && ("$d" == "wskbd0" || "$d" == "wsmouse0")
-# SIGIO using event injection is limited to wsmux devices.
-. else
+. if empty(IGNORE_sigio:M$d-$t)
REGRESS_TARGETS+= ${PROG_sigio}-$d-$t
${PROG_sigio}-$d-$t: ${PROG_sigio}
@echo "\n======== ${@} ========"