7cc42f6d25
Repeating the default WARNS here makes it slightly more difficult to experiment with default WARNS changes, e.g. if we did something absolutely bananas and introduced a WARNS=7 and wanted to try lifting the default to that. Drop most of them; there is one in the blake2 kernel module, but I suspect it should be dropped -- the default WARNS in the rest of the build doesn't currently apply to kernel modules, and I haven't put too much thought into whether it makes sense to make it so.
25 lines
549 B
Makefile
25 lines
549 B
Makefile
# $FreeBSD$
|
|
|
|
PACKAGE= tests
|
|
|
|
TESTSDIR= ${TESTSBASE}/sys/opencrypto
|
|
BINDIR= ${TESTSDIR}
|
|
|
|
CFLAGS+= -I${SRCTOP}/tests
|
|
CFLAGS.blake2_test.c += -I${SRCTOP}/sys/opencrypto
|
|
CFLAGS.blake2_test.c += -I${SRCTOP}/sys/contrib/libb2
|
|
CFLAGS.poly1305_test.c += -I${SRCTOP}/sys/opencrypto
|
|
|
|
ATF_TESTS_C+= blake2_test poly1305_test
|
|
|
|
TAP_TESTS_SH+= runtests
|
|
|
|
TEST_METADATA.runtests+= required_programs="python3"
|
|
TEST_METADATA.runtests+= required_user="root"
|
|
|
|
PYMODULES= cryptodev.py cryptodevh.py cryptotest.py
|
|
|
|
${PACKAGE}FILES+= ${PYMODULES}
|
|
|
|
.include <bsd.test.mk>
|