1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Take the MAINTAINER_MODE out of the regression-test target (not for the

-mpi case).

Submitted by:	Pedro F. Giffuni <giffunip (at) yahoo.com>
This commit is contained in:
Thierry Thomas 2008-11-10 15:40:43 +00:00
parent bb763c8264
commit 77ed548cf3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=222692

View File

@ -134,9 +134,8 @@ do-install:
. endfor
.endif
.if defined(MAINTAINER_MODE)
regression-test:
. if defined (WITH_MPI)
.if defined (WITH_MPI) && defined(MAINTAINER_MODE)
. if !exists(${HOME}/.mpd.conf)
@${ECHO_CMD} "MPD_SECRETWORD=change_on_install" > ${HOME}/.mpd.conf
${CHMOD} go-r ${HOME}/.mpd.conf
@ -152,7 +151,7 @@ regression-test:
${LOCALBASE}/mpich2/bin/mpirun -np 3 ./c_example ; \
${ECHO_MSG} "The solution should be (1,2)")
${LOCALBASE}/mpich2/bin/mpdallexit
. else
.else
(cd ${WRKSRC}/examples && \
./ssimpletest < input_simpletest_real ; \
./dsimpletest < input_simpletest_real ; \
@ -161,7 +160,6 @@ regression-test:
${ECHO_MSG} "The solution should be (1,2,3,4,5)" ; \
./c_example ; \
${ECHO_MSG} "The solution should be (1,2)")
. endif
.endif
.include <bsd.port.post.mk>