mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
Implement test target for USE_ANT=yes.
This commit is contained in:
parent
d594a132cf
commit
90dd89a00e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=437838
@ -393,6 +393,13 @@ do-build:
|
||||
@(cd ${BUILD_WRKSRC}; \
|
||||
${SETENV} ${MAKE_ENV} ${ANT} ${MAKE_ARGS} ${ALL_TARGET})
|
||||
. endif
|
||||
. if !target(do-test) && defined(TEST_TARGET)
|
||||
TEST_DEPENDS+= ${DEPEND_JAVA}
|
||||
TEST_DEPENDS+= ${ANT}:devel/apache-ant
|
||||
do-test:
|
||||
@(cd ${TEST_WRKSRC}; \
|
||||
${SETENV} ${MAKE_ENV} ${ANT} ${MAKE_ARGS} ${TEST_TARGET})
|
||||
. endif
|
||||
. endif
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user