git: 6de875456931 - main - devel/qtutilities: Fix tests

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 06 Mar 2024 10:52:14 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6de8754569314aeaae10d0fa719aa50928154750

commit 6de8754569314aeaae10d0fa719aa50928154750
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-03-06 10:51:52 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-03-06 10:52:12 +0000

    devel/qtutilities: Fix tests
---
 devel/qtutilities/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/devel/qtutilities/Makefile b/devel/qtutilities/Makefile
index 050e02c9e299..086a10401af5 100644
--- a/devel/qtutilities/Makefile
+++ b/devel/qtutilities/Makefile
@@ -20,9 +20,10 @@ USE_LDCONFIG=	yes
 USE_GITHUB=	yes
 GH_ACCOUNT=	Martchus
 
+MAKE_ENV+=	QT_QPA_PLATFORM=offscreen # otherwise tests fail because they can't connect to display
+
 CMAKE_ON=	BUILD_SHARED_LIBS
 CMAKE_TESTING_ARGS=	-DEXCLUDE_TESTS_FROM_ALL=OFF
-
-# 3 tests fail, see https://github.com/Martchus/qtutilities/issues/10
+CMAKE_TESTING_TARGET=	check
 
 .include <bsd.port.mk>