Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Aug 2021 17:08:58 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: cea0bdfd0813 - main - biology/seqan3: Add the 'test' target (currently broken due to lacking clang support)
Message-ID:  <202108131708.17DH8w0o042561@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cea0bdfd08136dacc2aa9f14aa340718acca4cb2

commit cea0bdfd08136dacc2aa9f14aa340718acca4cb2
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-08-13 17:07:49 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-08-13 17:08:56 +0000

    biology/seqan3: Add the 'test' target (currently broken due to lacking clang support)
---
 biology/seqan3/Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/biology/seqan3/Makefile b/biology/seqan3/Makefile
index d731c45f36af..c4a9e6453274 100644
--- a/biology/seqan3/Makefile
+++ b/biology/seqan3/Makefile
@@ -20,9 +20,17 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	seqan
 GH_TUPLE=	xxsds:sdsl-lite:9a0d567:sdsl_lite/submodules/sdsl-lite
 
+TEST_WRKSRC=	${WRKSRC}/.test
+
 NO_ARCH=	yes
 
 post-install:
 	@${RM} -r ${STAGEDIR}${DOCSDIR}
 
+do-test: # fail: https://github.com/seqan/seqan3/issues/2643
+	@${MKDIR} ${TEST_WRKSRC} && cd ${TEST_WRKSRC} && \
+		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} ${WRKSRC}/test/unit && \
+		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
+		ctest
+
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108131708.17DH8w0o042561>