summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2017-07-08 00:08:26 +0000
committerbluhm <bluhm@openbsd.org>2017-07-08 00:08:26 +0000
commitb15df39de97995ff08451106c5c7429b44460109 (patch)
tree76bd643d06d90854d15761a7fb7be8b48efe3199
parentRemove all references to "make depend" from regress. (diff)
downloadwireguard-openbsd-b15df39de97995ff08451106c5c7429b44460109.tar.xz
wireguard-openbsd-b15df39de97995ff08451106c5c7429b44460109.zip
Run malloc0test with all possible malloc options.
-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>