diff options
author | Alan Somers <asomers@FreeBSD.org> | 2019-06-20 15:56:08 +0000 |
---|---|---|
committer | Alan Somers <asomers@FreeBSD.org> | 2019-06-20 15:56:08 +0000 |
commit | e532a99901e26d3961f8f5c0e4969fce86f09456 (patch) | |
tree | 9f1f766c1938ed162a3e5e3d0995132f43da7ea2 /tests/sys/devrandom/Makefile | |
parent | 84879e46c2bea842c3ad7b1b8b26aeb81946f5a8 (diff) | |
parent | 8bd416a216a817cafd1af55e3d7694de327b05a5 (diff) | |
download | src-e532a99901e26d3961f8f5c0e4969fce86f09456.tar.gz src-e532a99901e26d3961f8f5c0e4969fce86f09456.zip |
MFHead @349234
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/projects/fuse2/; revision=349236
Diffstat (limited to 'tests/sys/devrandom/Makefile')
-rw-r--r-- | tests/sys/devrandom/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/sys/devrandom/Makefile b/tests/sys/devrandom/Makefile new file mode 100644 index 000000000000..db9f9d42a470 --- /dev/null +++ b/tests/sys/devrandom/Makefile @@ -0,0 +1,26 @@ +# $FreeBSD$ + +.include <src.opts.mk> + +SDEVRANDOM= ${SRCTOP}/sys/dev/random +.PATH: ${SDEVRANDOM} + +TESTSDIR= ${TESTSBASE}/sys/devrandom +WARNS?= 6 + +CFLAGS+= -I${SRCTOP}/sys + +ATF_TESTS_C+= uint128_test + +# Test Chacha CTR behavior <-> uint128 +LDADD.uint128_test+= ${SDEVRANDOM}/hash.c +LDFLAGS.uint128_test+= -Wno-unused-parameter + +# hash.c deps: +LIBADD.uint128_test+= md # SHA256 +LDADD.uint128_test+= ${SRCTOP}/sys/crypto/rijndael/rijndael-alg-fst.c +LDADD.uint128_test+= ${SRCTOP}/sys/crypto/rijndael/rijndael-api-fst.c +LDFLAGS.uint128_test+= -Wno-cast-align + + +.include <bsd.test.mk> |