mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
- Switch to options helpers
- Switch to new test framework
This commit is contained in:
parent
76ddf60538
commit
a3a75358a3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=468675
1 changed files with 3 additions and 9 deletions
|
@ -87,12 +87,12 @@ do-install:
|
|||
${INSTALL_DATA} ${WRKSRC}/src/*.h ${STAGEDIR}${PREFIX}/include
|
||||
(cd ${WRKSRC}_SHARED/bin/FreeBSD && \
|
||||
${INSTALL_PROGRAM} ${BINS} ${STAGEDIR}${PREFIX}/bin)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
check test: build
|
||||
do-test: # XXX: building tests fail
|
||||
.for t in ${TESTS}
|
||||
@${PRINTF} "\n%s\n" "Building test_${t}"
|
||||
@cd ${WRKSRC}_SHARED ; ${FC} ${FFLAGS} -Llib/FreeBSD -L./ \
|
||||
|
@ -106,10 +106,4 @@ check test: build
|
|||
bin/FreeBSD/test_${t}
|
||||
.endfor
|
||||
|
||||
#be conservative, and expose a regression test target for amd64 builds only, because
|
||||
#some of the tests run amok during i386 tinderbox builds on amd64 hosts
|
||||
.if ${ARCH} == "amd64"
|
||||
regression-test: check
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue