aboutsummaryrefslogtreecommitdiffstats
path: root/java/openjdk6/Makefile.test
blob: 880a0580e02ab70c7556c5caed7b40ad7dcc3c6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $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