summaryrefslogtreecommitdiff
path: root/share/mk
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2020-12-16 16:53:25 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2020-12-16 16:53:25 +0000
commit8cec51660931efa34c2008647c7b8a2af3d487c1 (patch)
tree03d45f100f946ef3dd09c1f5017c287dbb60563b /share/mk
parent2f9794c01c0b00db8c1874a093f7bc8cdd7cdb52 (diff)
When debugging tests, it is useful to see the target name and which
output belongs to it. Echo headline with regress target and empty line afterwards. OK sthen@ tb@ OK claudio@
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.regress.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/mk/bsd.regress.mk b/share/mk/bsd.regress.mk
index b66b1e4b5a7..be69f81b902 100644
--- a/share/mk/bsd.regress.mk
+++ b/share/mk/bsd.regress.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.regress.mk,v 1.21 2019/06/17 17:20:24 espie Exp $
+# $OpenBSD: bsd.regress.mk,v 1.22 2020/12/16 16:53:24 bluhm Exp $
# Documented in bsd.regress.mk(5)
# No man pages for regression tests.
@@ -84,6 +84,7 @@ regress: .SILENT
rm -f ${REGRESS_SETUP_ONCE:S/^/stamp-/}
.endif
.for RT in ${REGRESS_TARGETS}
+ echo '==== ${RT} ===='
. if ${REGRESS_SKIP_TARGETS:M${RT}}
echo -n "SKIP " ${_REGRESS_OUT}
echo SKIPPED
@@ -106,9 +107,12 @@ regress: .SILENT
fi
. endif
echo ${_REGRESS_NAME}/${RT:S/^run-regress-//} ${_REGRESS_OUT}
+ echo
.endfor
.for RT in ${REGRESS_CLEANUP}
+ echo '==== ${RT} ===='
${MAKE} -C ${.CURDIR} ${RT}
+ echo
.endfor
rm -f ${REGRESS_SETUP_ONCE:S/^/stamp-/}