summaryrefslogtreecommitdiff
path: root/regress/sys/dev/kcov/Makefile
blob: fd236cf226bb038cdeddc30a84d1444e033ae233 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#	$OpenBSD: Makefile,v 1.2 2018/12/16 15:56:03 anton Exp $

PROG=		kcov
WARNINGS=	yes

TESTS+=	coverage
TESTS+=	fork
TESTS+=	exec
TESTS+=	mode
TESTS+=	open
TESTS+=	close

.for t in ${TESTS}
$t:
	@echo "\n======== ${@} ========"
	if ${SUDO} ./${PROG} -p; then \
		${SUDO} ./${PROG} ${KCOVFLAGS} $t; \
	else \
		echo "SKIPPED"; \
	fi
REGRESS_TARGETS+=	$t
.endfor

.include <bsd.regress.mk>