Date: Fri, 7 Jan 2022 16:50:43 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: b531e10818e5 - main - graphics/pcl-pointclouds: Add 'test' target Message-ID: <202201071650.207Gohvq097179@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b531e10818e502afae588142d4de71f1b900240f commit b531e10818e502afae588142d4de71f1b900240f Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-01-07 16:50:00 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-01-07 16:50:41 +0000 graphics/pcl-pointclouds: Add 'test' target --- graphics/pcl-pointclouds/Makefile | 13 ++++++++++++- graphics/pcl-pointclouds/distinfo | 4 +++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/graphics/pcl-pointclouds/Makefile b/graphics/pcl-pointclouds/Makefile index 20cae1256938..f7b6bf3bcb73 100644 --- a/graphics/pcl-pointclouds/Makefile +++ b/graphics/pcl-pointclouds/Makefile @@ -24,10 +24,21 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libpcap.so:net/libpcap \ libtiff.so:graphics/tiff -USES= cmake compiler:c++14-lang eigen:3 jpeg localbase:ldflags python xorg +USES= cmake:testing compiler:c++14-lang eigen:3 jpeg localbase:ldflags python xorg USE_XORG= x11 xext xt ice sm USE_LDCONFIG= yes +USE_GITHUB= nodefault +GH_ACCOUNT= google:gtest +GH_PROJECT= googletest:gtest +GH_TAGNAME= release-1.11.0:gtest + +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} # workaround, otherwise USE_GITHUB=nodefault doesn't work #' + +CMAKE_TESTING_ON= BUILD_global_tests # 6 tests are known to fail: https://github.com/PointCloudLibrary/pcl/issues/5127 +CMAKE_TESTING_TARGET= tests +CMAKE_ARGS= -DGTEST_SRC_DIR=${WRKSRC_gtest}/googletest -DGTEST_INCLUDE_DIR=${WRKSRC_gtest}/googletest/include + WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_SUB= SHL3=${DISTVERSION} SHL2=${DISTVERSION:R} diff --git a/graphics/pcl-pointclouds/distinfo b/graphics/pcl-pointclouds/distinfo index 48f2a38e3103..8cafd7e1de04 100644 --- a/graphics/pcl-pointclouds/distinfo +++ b/graphics/pcl-pointclouds/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1641479988 +TIMESTAMP = 1641548254 SHA256 (pcl-pointclouds/1.12.1/source.tar.gz) = a9573efad5e024c02f2cc9180bb8f82605c3772c62463efbe25c5d6e634b91dc SIZE (pcl-pointclouds/1.12.1/source.tar.gz) = 68733343 +SHA256 (pcl-pointclouds/1.12.1/google-googletest-release-1.11.0_GH0.tar.gz) = b4870bf121ff7795ba20d20bcdd8627b8e088f2d1dab299a031c1034eddc93d5 +SIZE (pcl-pointclouds/1.12.1/google-googletest-release-1.11.0_GH0.tar.gz) = 886330
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201071650.207Gohvq097179>