2014-11-03 19:56:25 -05:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
2016-02-02 17:26:49 -05:00
|
|
|
PACKAGE= tests
|
2016-05-04 19:20:53 -04:00
|
|
|
|
|
|
|
|
.include <src.opts.mk>
|
2016-02-02 17:26:49 -05:00
|
|
|
|
2014-12-27 15:48:36 -05:00
|
|
|
NETBSD_ATF_TESTS_C=
|
|
|
|
|
|
|
|
|
|
.if ${MK_OPENSSL} != "no"
|
|
|
|
|
NETBSD_ATF_TESTS_C+= sha2_test
|
|
|
|
|
.endif
|
2014-11-03 19:56:25 -05:00
|
|
|
|
|
|
|
|
NETBSD_ATF_TESTS_SH= hash_test
|
|
|
|
|
|
|
|
|
|
BINDIR= ${TESTSDIR}
|
|
|
|
|
|
|
|
|
|
PROGS+= h_hash
|
|
|
|
|
|
2016-05-04 19:20:53 -04:00
|
|
|
FILESGROUPS+= ${PACKAGE}DATA_FILES
|
|
|
|
|
${PACKAGE}DATA_FILESPACKAGE= tests
|
|
|
|
|
|
|
|
|
|
${PACKAGE}DATA_FILESDIR= ${TESTSDIR}/data
|
2014-11-03 19:56:25 -05:00
|
|
|
|
2016-05-04 19:20:53 -04:00
|
|
|
${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
|
2014-11-03 19:56:25 -05:00
|
|
|
|
2015-12-03 22:17:47 -05:00
|
|
|
LIBADD+= md
|
|
|
|
|
LIBADD.sha2_test+= crypto
|
2014-11-03 19:56:25 -05:00
|
|
|
|
2015-10-12 04:16:03 -04:00
|
|
|
CFLAGS.sha2_test+= -I${SRCTOP}/crypto/openssh/openbsd-compat
|
|
|
|
|
CFLAGS.sha2_test+= -I${SRCTOP}/crypto/openssh
|
2014-11-03 19:56:25 -05:00
|
|
|
|
|
|
|
|
.include "../Makefile.netbsd-tests"
|
|
|
|
|
|
|
|
|
|
.include <bsd.test.mk>
|