Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 2021 00:54:57 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4602f4db0d9a - main - devel/googletest: convert TEST option to USES=cmake:testing
Message-ID:  <202105180054.14I0svrk047048@gitrepo.freebsd.org>

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

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

commit 4602f4db0d9a9d3ef40ffdb2788ddb8f272c03fb
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-05-17 13:49:04 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-05-18 00:47:14 +0000

    devel/googletest: convert TEST option to USES=cmake:testing
---
 devel/googletest/Makefile | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/devel/googletest/Makefile b/devel/googletest/Makefile
index 4418dd565234..7710751ec812 100644
--- a/devel/googletest/Makefile
+++ b/devel/googletest/Makefile
@@ -15,20 +15,13 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USE_GITHUB=	yes
 GH_ACCOUNT=	google
 
-USES=		cmake compiler:c++11-lib
+USES=		cmake:testing compiler:c++11-lib python:test
 USE_LDCONFIG=	yes
 CMAKE_ON=	BUILD_SHARED_LIBS
-
-OPTIONS_DEFINE=	TEST
-
-TEST_USES=		python:build
-TEST_CMAKE_BOOL=	gtest_build_tests gmock_build_tests
-TEST_TEST_TARGET=	test
+CMAKE_TESTING_ON=	gtest_build_tests gmock_build_tests
 
 post-install:
 # Drop unused not preprocessed headers
 	${FIND} ${STAGEDIR}${PREFIX} -name '*.pump' -delete
 
-pre-install-TEST-on: do-test
-
 .include <bsd.port.mk>



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