summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2017-03-01 00:40:40 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2017-03-01 00:40:40 +0000
commit9437b8a300a53f6fcea710e34b00ecd106f77cba (patch)
treefd12b8556c0032ccff7395a6fd9d345eae60a276
parent7b2730cfd0bd8e7cd26fa91d751988ce44260d79 (diff)
Print SKIPPED if the architecture dependent regression tests are
executed on the wrong machine. This allows to distinguish their result from a passed test.
-rw-r--r--regress/sys/arch/hppa/Makefile8
-rw-r--r--regress/sys/arch/m88k/Makefile6
-rw-r--r--regress/sys/arch/sparc64/Makefile8
3 files changed, 19 insertions, 3 deletions
diff --git a/regress/sys/arch/hppa/Makefile b/regress/sys/arch/hppa/Makefile
index 64c15d68f55..c3d1666ac6d 100644
--- a/regress/sys/arch/hppa/Makefile
+++ b/regress/sys/arch/hppa/Makefile
@@ -1,7 +1,13 @@
-# $OpenBSD: Makefile,v 1.2 2004/05/13 01:22:05 mickey Exp $
+# $OpenBSD: Makefile,v 1.3 2017/03/01 00:40:39 bluhm Exp $
+.if ${MACHINE_ARCH} == "hppa"
SUBDIR+= probe sfuid
+.elif make(regress) || make(all)
+${.TARGETS}:
+ @echo SKIPPED
+.endif
+
install:
.include <bsd.subdir.mk>
diff --git a/regress/sys/arch/m88k/Makefile b/regress/sys/arch/m88k/Makefile
index fe3f2d1cdf6..73d1f3c3fe3 100644
--- a/regress/sys/arch/m88k/Makefile
+++ b/regress/sys/arch/m88k/Makefile
@@ -1,7 +1,11 @@
-# $OpenBSD: Makefile,v 1.2 2017/01/25 22:58:57 mpi Exp $
+# $OpenBSD: Makefile,v 1.3 2017/03/01 00:40:39 bluhm Exp $
.if ${MACHINE_ARCH} == "m88k"
SUBDIR+= usertrap
+
+.elif make(regress) || make(all)
+${.TARGETS}:
+ @echo SKIPPED
.endif
install:
diff --git a/regress/sys/arch/sparc64/Makefile b/regress/sys/arch/sparc64/Makefile
index dbc806192f2..064f172d74b 100644
--- a/regress/sys/arch/sparc64/Makefile
+++ b/regress/sys/arch/sparc64/Makefile
@@ -1,7 +1,13 @@
-# $OpenBSD: Makefile,v 1.2 2003/07/12 04:08:33 jason Exp $
+# $OpenBSD: Makefile,v 1.3 2017/03/01 00:40:39 bluhm Exp $
.if ${MACHINE_ARCH} == "sparc64"
SUBDIR=emul-popc emul-ldqstq
+
+.elif make(regress) || make(all)
+${.TARGETS}:
+ @echo SKIPPED
.endif
+install:
+
.include <bsd.subdir.mk>