svn commit: r439375 - in head/databases/lmdb: . files

Mathieu Arnold mat at FreeBSD.org
Tue Apr 25 12:36:35 UTC 2017


Le 25/04/2017 à 14:26, Pietro Cerutti a écrit :
> +TEST_TARGET=	do-test
> +

What this does is tell the framework that to run tests, there is a
do-test target in the software's Makefile that runs the tests. It is
equivalent to setting ALL_TARGETS (default to all) or INSTALL_TARGET
(defaults to install)

> +do-test:
> +	${MKDIR} ${WRKSRC}/testdb
> +	cd ${WRKSRC} && ./mtest*
> +

What this does is replace the default do-test target (the one that uses
TEST_TARGET to do "cd ${WRKSRC} && make ${TEST_TARGET}")


So, If you define a do-test target, setting TEST_TARGET is a noop (a bit
like if you define a do-install target and also define INSTALL_TARGET).


-- 
Mathieu Arnold


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20170425/dffae819/attachment.sig>


More information about the svn-ports-head mailing list