summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-26 01:32:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-26 01:32:08 +0000
commit04d824c09a53a51c10fa95d24669afdcb9d8e794 (patch)
tree4026076dc6f4064a09624c26d98f1b11770d7d22
parentc10720d606fc90e3b7f21bb3b9fb10d7333dbef1 (diff)
regress these only on the architectures where they are expected to work
-rw-r--r--regress/sys/kern/Makefile4
-rw-r--r--regress/sys/kern/nxbss/Makefile9
-rw-r--r--regress/sys/kern/nxstack/Makefile10
3 files changed, 19 insertions, 4 deletions
diff --git a/regress/sys/kern/Makefile b/regress/sys/kern/Makefile
index 023c5c6a261..14bcf6c3e56 100644
--- a/regress/sys/kern/Makefile
+++ b/regress/sys/kern/Makefile
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile,v 1.33 2002/07/01 18:30:58 mickey Exp $
+# $OpenBSD: Makefile,v 1.34 2002/07/26 01:32:07 deraadt Exp $
SUBDIR+= execve getrusage kqueue mmap mmap2 dup2 minherit rlimit-file
SUBDIR+= fcntl_dup dup2_self pread preadv exit pwrite pwritev
SUBDIR+= syscall __syscall unfdpass accept nanosleep sysvmsg sysvsem
-SUBDIR+= sysvshm rfork gettimeofday signal nxstack
+SUBDIR+= sysvshm rfork gettimeofday signal nxstack nxbss
install:
diff --git a/regress/sys/kern/nxbss/Makefile b/regress/sys/kern/nxbss/Makefile
index cc16d82fde2..d4f82b3cc5d 100644
--- a/regress/sys/kern/nxbss/Makefile
+++ b/regress/sys/kern/nxbss/Makefile
@@ -1,6 +1,13 @@
-# $OpenBSD: Makefile,v 1.1 2002/07/26 01:20:44 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2002/07/26 01:32:07 deraadt Exp $
+
+.if ${MACHINE} == "sparc64" || ${MACHINE} == "sparc" || \
+ ${MACHINE} == "alpha"
PROG= nxbss
LDSTATIC= ${STATIC}
+.else
+REGRESSTARGETS= # this architecture has no test for this
+.endif
+
.include <bsd.regress.mk>
diff --git a/regress/sys/kern/nxstack/Makefile b/regress/sys/kern/nxstack/Makefile
index ef09bf99338..cb5fef07398 100644
--- a/regress/sys/kern/nxstack/Makefile
+++ b/regress/sys/kern/nxstack/Makefile
@@ -1,6 +1,14 @@
-# $OpenBSD: Makefile,v 1.1 2002/07/01 18:15:51 mickey Exp $
+# $OpenBSD: Makefile,v 1.2 2002/07/26 01:32:07 deraadt Exp $
+
+.if ${MACHINE} == "sparc64" || ${MACHINE} == "sparc" || \
+ ${MACHINE} == "alpha" || ${MACHINE} == "macppc" || \
+ ${MACHINE} == "mvmeppc" || ${MACHINE} == "i386"
PROG= nxstack
LDSTATIC= ${STATIC}
+.else
+REGRESSTARGETS= # this architecture has no test for this
+.endif
+
.include <bsd.regress.mk>