aboutsummaryrefslogtreecommitdiff
path: root/sbin/md5/tests/Makefile
blob: 93f3913c687dbc59441fc2ade36042dcd7320f61 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# $FreeBSD$

.include <bsd.own.mk>

PACKAGE=		tests

TEST_DIR=		${SRCTOP}/sbin/md5/tests

.PATH:			${TEST_DIR}

FILESGROUPS+=		FILESinputs
FILESinputsPACKAGE=	${PACKAGE}
FILESinputsDIR=		${TESTSDIR}
FILESinputs!=		echo ${TEST_DIR}/*.inp

FILESGROUPS+=		FILESchkfiles
FILESchkfilesPACKAGE=	${PACKAGE}
FILESchkfilesDIR=	${TESTSDIR}
FILESchkfiles!=		echo ${TEST_DIR}/*.chk

FILESGROUPS+=		FILESdigests
FILESdigestsPACKAGE=	${PACKAGE}
FILESdigestsDIR=	${TESTSDIR}
FILESdigests!=		echo ${TEST_DIR}/*.digest

FILESGROUPS+=		FILESparam
FILESparamPACKAGE=	${PACKAGE}
FILESparamDIR=		${TESTSDIR}
FILESparam!=		echo ${TEST_DIR}/*.txt

PLAIN_TESTS_SH+=	self-test
PLAIN_TESTS_SH+=	bsd-c-test
PLAIN_TESTS_SH+=	bsd-p-test
PLAIN_TESTS_SH+=	bsd-s-test
PLAIN_TESTS_SH+=	coreutils-c-test

.SUFFIXES:		.SH

.SH.sh:
	sed 's|%%TESTSBASE%%|${TESTSBASE}|g' ${.ALLSRC} > ${.TARGET}

.include <bsd.test.mk>