Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 2021 00:55:06 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: c86be8a40cdb - main - multimedia/gmmlib: convert TEST option to USES=cmake:testing
Message-ID:  <202105180055.14I0t6QS047247@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=c86be8a40cdb3ee610227d00d76557c6eb89629a

commit c86be8a40cdb3ee610227d00d76557c6eb89629a
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-05-17 13:30:12 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-05-18 00:47:15 +0000

    multimedia/gmmlib: convert TEST option to USES=cmake:testing
---
 multimedia/gmmlib/Makefile | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/multimedia/gmmlib/Makefile b/multimedia/gmmlib/Makefile
index adc4dc2672bb..ff06df3950b1 100644
--- a/multimedia/gmmlib/Makefile
+++ b/multimedia/gmmlib/Makefile
@@ -23,19 +23,16 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.md
 ONLY_FOR_ARCHS=	amd64 i386
 ONLY_FOR_ARCHS_REASON=	Only Intel GPUs on x86 are supported
 
-USES=		cmake compiler:c++11-lib
+USES=		cmake:testing compiler:c++11-lib
 USE_GITHUB=	yes
 USE_LDCONFIG=	yes
 GH_ACCOUNT=	intel
+CMAKE_OFF+=	${CMAKE_TESTING_ON}
+CMAKE_TESTING_ON=	RUN_TEST_SUITE # XXX Unbundle googletest
+CMAKE_TESTING_TARGET=	Run_ULT
 CMAKE_ARGS=	-DBUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}" \
 		-DGMMLIB_MARCH:STRING="${CPUTYPE}"
 
-OPTIONS_DEFINE=	TEST
-
-# XXX Unbundle googletest
-TEST_CMAKE_BOOL=	RUN_TEST_SUITE
-TEST_TEST_TARGET=	Run_ULT
-
 post-install:
 # Clean up after PATTERN-based install
 	@${FIND} ${STAGEDIR}${PREFIX}/include -type d -empty -delete



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