summaryrefslogtreecommitdiff
path: root/regress/lib/libc
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2017-07-08 00:08:27 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2017-07-08 00:08:27 +0000
commitd4bba9b7f2de427abf3f8d76103f579a89d471da (patch)
tree146519bf273fa3c7d285f0ce20e1bcdf219c1e5a /regress/lib/libc
parent791ad752c53dd38a5b49a569b22c8ab3df49fc65 (diff)
Run malloc0test with all possible malloc options.
Diffstat (limited to 'regress/lib/libc')
-rw-r--r--regress/lib/libc/malloc/malloc0test/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/regress/lib/libc/malloc/malloc0test/Makefile b/regress/lib/libc/malloc/malloc0test/Makefile
index 8ed8163a790..fc2295c091b 100644
--- a/regress/lib/libc/malloc/malloc0test/Makefile
+++ b/regress/lib/libc/malloc/malloc0test/Makefile
@@ -1,5 +1,11 @@
-# $OpenBSD: Makefile,v 1.1 2003/07/15 10:09:37 otto Exp $
+# $OpenBSD: Makefile,v 1.2 2017/07/08 00:08:26 bluhm Exp $
PROG= malloc0test
+.for m in C D F G J j R S U X << >>>
+REGRESS_TARGETS += run-regress-${PROG}-${m:S/</-/g:S/>/+/g}
+run-regress-${PROG}-${m:S/</-/g:S/>/+/g}: ${PROG}
+ MALLOC_OPTIONS='${m}' ./${PROG}
+.endfor
+
.include <bsd.regress.mk>