blob: 1e2cd29dbddfdb196a6bac197b0d4281db82d3da (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $FreeBSD$
PACKAGE= tests
.include <src.opts.mk>
NETBSD_ATF_TESTS_C=
.if ${MK_OPENSSL} != "no"
# XXX: doesn't compile
#NETBSD_ATF_TESTS_C+= hmac_test
NETBSD_ATF_TESTS_C+= sha2_test
.endif
NETBSD_ATF_TESTS_SH= hash_test
BINDIR= ${TESTSDIR}
PROGS+= h_hash
FILESGROUPS+= ${PACKAGE}DATA_FILES
${PACKAGE}DATA_FILESPACKAGE= tests
${PACKAGE}DATA_FILESDIR= ${TESTSDIR}/data
${PACKAGE}DATA_FILES+= data/md5test-in
${PACKAGE}DATA_FILES+= data/md5test-out
${PACKAGE}DATA_FILES+= data/sha1test-in
${PACKAGE}DATA_FILES+= data/sha1test-out
${PACKAGE}DATA_FILES+= data/sha1test2-out
LIBADD+= md
LIBADD.sha2_test+= crypto
CFLAGS.sha2_test+= -I${SRCTOP}/crypto/openssh/openbsd-compat
CFLAGS.sha2_test+= -I${SRCTOP}/crypto/openssh
.include "../Makefile.netbsd-tests"
.include <bsd.test.mk>
|