1# $FreeBSD$ 2 3PACKAGE= tests 4 5TESTSDIR= ${TESTSBASE}/sys/opencrypto 6BINDIR= ${TESTSDIR} 7 8CFLAGS+= -I${SRCTOP}/tests 9CFLAGS.blake2_test.c += -I${SRCTOP}/sys/opencrypto 10CFLAGS.blake2_test.c += -I${SRCTOP}/sys/contrib/libb2 11CFLAGS.poly1305_test.c += -I${SRCTOP}/sys/opencrypto 12 13ATF_TESTS_C+= blake2_test poly1305_test 14 15TAP_TESTS_SH+= runtests 16 17TEST_METADATA.runtests+= required_programs="python3" 18TEST_METADATA.runtests+= required_user="root" 19 20PYMODULES= cryptodev.py cryptodevh.py cryptotest.py 21 22${PACKAGE}FILES+= ${PYMODULES} 23 24.include <bsd.test.mk> 25