Date: Tue, 10 Dec 2024 19:41:03 GMT From: Daniel Engberg <diizzy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 197b5473c2c2 - main - net/uriparser: Utilize framework for unit tests Message-ID: <202412101941.4BAJf3wv084763@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=197b5473c2c2f1e899dd234f6f9a76307e89453b commit 197b5473c2c2f1e899dd234f6f9a76307e89453b Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2024-12-10 19:15:14 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2024-12-10 19:40:05 +0000 net/uriparser: Utilize framework for unit tests Instead of having unit tests as an option and enabled by default build when requested. PR: 283184 Reviewed by: Sergei Vyshenski <svysh.fbsd@gmail.com> (maintainer) --- net/uriparser/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/net/uriparser/Makefile b/net/uriparser/Makefile index 0a7c960abe8f..12a6aafaa4ac 100644 --- a/net/uriparser/Makefile +++ b/net/uriparser/Makefile @@ -13,24 +13,24 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= bash:shells/bash +TEST_DEPENDS= googletest>=1.10.0:devel/googletest -USES= cmake:noninja cpe pathfix tar:xz +USES= cmake:noninja,testing cpe pathfix tar:xz CPE_VENDOR= uriparser_project USE_LDCONFIG= yes -CMAKE_OFF= URIPARSER_BUILD_DOCS # will fetch prebuilds from the upstream, if DOCS is selected +CMAKE_TESTING_ON= URIPARSER_BUILD_TESTS -TEST_TARGET= test +CMAKE_OFF= URIPARSER_BUILD_TESTS \ + URIPARSER_BUILD_DOCS # will fetch prebuilds from the upstream, if DOCS is selected PLIST_SUB= DISTVERSION=${DISTVERSION} PORTDOCS= * -OPTIONS_DEFINE= DOCS TEST +OPTIONS_DEFINE= DOCS DOCS_DISTFILES= ${_DISTDOCSFILE} \ ${DISTNAME}.qch DOCS_EXTRACT_ONLY= ${_DISTDOCSFILE} -TEST_BUILD_DEPENDS= googletest>=1.10.0:devel/googletest -TEST_CMAKE_BOOL= URIPARSER_BUILD_TESTS _DISTDOCSFILE= ${_DISTDOCSNAME}.zip _DISTDOCSNAME= ${DISTNAME}-doc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412101941.4BAJf3wv084763>