a33191366c
Please note that lots of invocation of MAKE_CMD here are wrong as they do not properly respect MAKE_ENV and friends With hat: portmgr
19 lines
428 B
Text
19 lines
428 B
Text
# $FreeBSD$
|
|
|
|
.if ${PORT_OPTIONS:MTEST}
|
|
.if defined(DISPLAY)
|
|
_TEST_SEQ= do-test
|
|
.else
|
|
_TEST_SEQ= pre-test do-test post-test
|
|
.ORDER: ${_TEST_SEQ}
|
|
.endif
|
|
|
|
test: ${_TEST_SEQ}
|
|
@${ECHO_MSG} ""
|
|
@${ECHO_MSG} "You can run \"make test\" again to re-execute only the failed tests."
|
|
@${ECHO_MSG} ""
|
|
|
|
do-test: build-depends build
|
|
@-(cd ${WRKSRC}/jdk/test; ${SETENV} PLATFORM=bsd ARCH=${ARCH} \
|
|
${MAKE_ENV} ${MAKE_CMD} tests)
|
|
.endif
|