forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
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
|