summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-01-02 17:53:02 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-01-02 17:53:02 +0000
commit58e43ef441005bbb6d140fa5d9556e7fffde7805 (patch)
tree044eb27e0d1cead78a62470fa1c1d29a917fbf0d
parent88022e25e3d02bb5caca4741b24395a6bb5db548 (diff)
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).
-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>