summaryrefslogtreecommitdiff
path: root/regress/usr.sbin
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2020-12-16 18:44:56 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2020-12-16 18:44:56 +0000
commitae6b941db7037de1d99f551fec2274150ad473c2 (patch)
treeb7da7125df260dd357336903d6993c4d82cd778c /regress/usr.sbin
parent0ce63a66bec3595de0050347df4a6da5ba65d4df (diff)
Use consistent target names. Makefile cleanup.
Diffstat (limited to 'regress/usr.sbin')
-rw-r--r--regress/usr.sbin/btrace/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/regress/usr.sbin/btrace/Makefile b/regress/usr.sbin/btrace/Makefile
index 1322aaefdf2..251163dd58b 100644
--- a/regress/usr.sbin/btrace/Makefile
+++ b/regress/usr.sbin/btrace/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2020/12/06 13:32:18 bluhm Exp $
+# $OpenBSD: Makefile,v 1.8 2020/12/16 18:44:55 bluhm Exp $
BTRACE?= /usr/sbin/btrace
@@ -8,13 +8,13 @@ BT_LANG_SCRIPTS= arithm beginend boolean comments delete exit map \
BT_KERN_SCRIPTS=
-${BT_LANG_SCRIPTS}:
- ${BTRACE} ${.CURDIR}/${.TARGET}.bt | \
- diff -u ${.CURDIR}/${.TARGET}.ok /dev/stdin
+REGRESS_EXPECTED_FAILURES= run-maxoperand
-REGRESS_TARGETS=${BT_LANG_SCRIPTS}
-REGRESS_EXPECTED_FAILURES=maxoperand
-.PHONY: ${REGRESS_TARGETS}
+.for b in ${BT_LANG_SCRIPTS}
+REGRESS_TARGETS+= run-$b
+run-$b:
+ ${BTRACE} ${.CURDIR}/$b.bt | \
+ diff -u ${.CURDIR}/$b.ok /dev/stdin
+.endfor
.include <bsd.regress.mk>
-