From owner-dev-commits-ports-branches@freebsd.org Tue May 18 00:54:57 2021 Return-Path: Delivered-To: dev-commits-ports-branches@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C06D0638242; Tue, 18 May 2021 00:54:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fkcwd4hWmz3HxD; Tue, 18 May 2021 00:54:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 63E3616212; Tue, 18 May 2021 00:54:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14I0svHp047049; Tue, 18 May 2021 00:54:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14I0svrk047048; Tue, 18 May 2021 00:54:57 GMT (envelope-from git) Date: Tue, 18 May 2021 00:54:57 GMT Message-Id: <202105180054.14I0svrk047048@gitrepo.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 From: Jan Beich Subject: git: 4602f4db0d9a - main - devel/googletest: convert TEST option to USES=cmake:testing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4602f4db0d9a9d3ef40ffdb2788ddb8f272c03fb Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-branches@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2021 00:54:57 -0000 The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=4602f4db0d9a9d3ef40ffdb2788ddb8f272c03fb commit 4602f4db0d9a9d3ef40ffdb2788ddb8f272c03fb Author: Jan Beich AuthorDate: 2021-05-17 13:49:04 +0000 Commit: Jan Beich 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