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

Pietro Cerutti gahr at FreeBSD.org
Tue Apr 25 12:41:36 UTC 2017


On Apr 25 17 14:36, Mathieu Arnold wrote:
> 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).

Thanks, fixed in r439376.

-- 
Pietro Cerutti
The FreeBSD Project
gahr at FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1028 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20170425/97153ab9/attachment.sig>


More information about the svn-ports-all mailing list