Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 2021 00:55:08 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: ce516a747216 - main - multimedia/libva-intel-media-driver: convert TEST option to USES=cmake:testing
Message-ID:  <202105180055.14I0t8eK047289@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=ce516a747216a83ac3532768aa74196fb172851b

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

    multimedia/libva-intel-media-driver: convert TEST option to USES=cmake:testing
---
 multimedia/libva-intel-media-driver/Makefile | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/multimedia/libva-intel-media-driver/Makefile b/multimedia/libva-intel-media-driver/Makefile
index e94c24f67365..090173996854 100644
--- a/multimedia/libva-intel-media-driver/Makefile
+++ b/multimedia/libva-intel-media-driver/Makefile
@@ -30,23 +30,22 @@ BUILD_DEPENDS=	gmmlib>=19.3.1:multimedia/gmmlib \
 LIB_DEPENDS=	libigdgmm.so:multimedia/gmmlib \
 		libva.so:multimedia/libva
 
-USES=		cmake compiler:c++11-lib localbase pkgconfig
+USES=		cmake:testing compiler:c++11-lib localbase pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	intel
 ARCH_SUFX=	${ARCH:S/i386/32/:S/amd//:S/x86_//}
 CMAKE_OFF=	MEDIA_BUILD_FATAL_WARNINGS BUILD_CMRTLIB
+CMAKE_OFF+=	${CMAKE_TESTING_ON}
+CMAKE_TESTING_ON=	MEDIA_RUN_TEST_SUITE # XXX Unbundle googletest
+CMAKE_TESTING_TARGET=	RunULT
 CMAKE_ARGS=	-DBUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}" \
 		-DARCH:STRING="${ARCH_SUFX}" \
 		-DUFO_MARCH:STRING="${CPUTYPE}"
 PLIST_FILES=	lib/dri/iHD_drv_video.so
 
-OPTIONS_DEFINE=	TEST X11
+OPTIONS_DEFINE=	X11
 OPTIONS_DEFAULT=X11
 
-# XXX Unbundle googletest
-TEST_CMAKE_BOOL=	MEDIA_RUN_TEST_SUITE
-TEST_TEST_TARGET=	RunULT
-
 X11_LIB_DEPENDS=	libva-x11.so:multimedia/libva
 
 post-patch:



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