summaryrefslogtreecommitdiffstats
path: root/regress/lib/libc
diff options
context:
space:
mode:
authorart <art@openbsd.org>2002-01-02 17:53:01 +0000
committerart <art@openbsd.org>2002-01-02 17:53:01 +0000
commit48e7636c100458f5b3e67a62d2873a0803e3d221 (patch)
treed8b9a6c974f0243b4b17dc6b6b939a7f84b841ca /regress/lib/libc
parentFirst conversion to bsd.regress.mk, needs to be split into (diff)
downloadwireguard-openbsd-48e7636c100458f5b3e67a62d2873a0803e3d221.tar.xz
wireguard-openbsd-48e7636c100458f5b3e67a62d2873a0803e3d221.zip
Split into smaller tests. It was easier than I thought.
XXX - Can someone who understands this verify that test8 is correct? It doesn't return failure (it can't and the code has a strange comment about it), but it prints something on sparc64 that could be interpreted as an error message).
Diffstat (limited to 'regress/lib/libc')
-rw-r--r--regress/lib/libc/db/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/regress/lib/libc/db/Makefile b/regress/lib/libc/db/Makefile
index e73ebbd2d57..826b7bf8690 100644
--- a/regress/lib/libc/db/Makefile
+++ b/regress/lib/libc/db/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2002/01/02 17:40:56 art Exp $
+# $OpenBSD: Makefile,v 1.6 2002/01/02 17:53:01 art Exp $
# $NetBSD: Makefile,v 1.11 1995/12/12 01:54:15 cgd Exp $
PROG= dbtest
@@ -8,10 +8,13 @@ PROG= dbtest
CFLAGS+= -g -D__DBINTERFACE_PRIVATE -DDEBUG
CLEANFILES+= t1 t2 t3
-REGRESSTARGETS=do-db
+DBTARGETS=1 2 3 4 5 6 7 8 9 10 11 12 13 20
-# XXX - should be split into sub-tests here, not in the script.
-do-db: ${PROG}
- sh ${.CURDIR}/run.test
+.for DT in ${DBTARGETS}
+db-${DT}:
+ sh ${.CURDIR}/run.test ${DT}
+REGRESSTARGETS+=db-${DT}
+.PHONY: db-${DT}
+.endfor
.include <bsd.regress.mk>