Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Sep 2024 18:42:42 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5da8249a8e11 - main - textproc/libwbxml: Add make test
Message-ID:  <202409081842.488Iggaj034872@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=5da8249a8e118bc16ff3b2839e4d1302d0d31df3

commit 5da8249a8e118bc16ff3b2839e4d1302d0d31df3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-08 18:17:04 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-08 18:37:03 +0000

    textproc/libwbxml: Add make test
---
 textproc/libwbxml/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/textproc/libwbxml/Makefile b/textproc/libwbxml/Makefile
index 8d1a60ea035f..a34fe629b831 100644
--- a/textproc/libwbxml/Makefile
+++ b/textproc/libwbxml/Makefile
@@ -12,8 +12,10 @@ LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libexpat.so:textproc/expat2
+TEST_DEPENDS=	check>=0:devel/check
 
-USES=		cmake iconv pkgconfig
+USES=		cmake:testing iconv perl5 pkgconfig
+USE_PERL5=	test
 
 CMAKE_ARGS=	-DCMAKE_INSTALL_LIBDIR=${PREFIX}/lib \
 		-DLIBDATA_INSTALL_DIR=${PREFIX}/libdata
@@ -38,6 +40,7 @@ CMAKE_ON=	BUILD_SHARED_LIBS \
 		WBXML_SUPPORT_WML \
 		WBXML_SUPPORT_WTA \
 		WBXML_SUPPORT_WV
+CMAKE_TESTING_ON=	ENABLE_UNIT_TEST
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes



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