Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2018 07:18:40 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r475973 - head/graphics/libpillowfight
Message-ID:  <201807310718.w6V7Iefl005149@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Jul 31 07:18:40 2018
New Revision: 475973
URL: https://svnweb.freebsd.org/changeset/ports/475973

Log:
  graphics/libpillowfight: Add 'test' target

Modified:
  head/graphics/libpillowfight/Makefile

Modified: head/graphics/libpillowfight/Makefile
==============================================================================
--- head/graphics/libpillowfight/Makefile	Tue Jul 31 06:43:53 2018	(r475972)
+++ head/graphics/libpillowfight/Makefile	Tue Jul 31 07:18:40 2018	(r475973)
@@ -11,6 +11,8 @@ LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	gmake:devel/gmake
+TEST_DEPENDS=	gmake:devel/gmake \
+		tox:devel/py-tox@${PY_FLAVOR}
 
 USES=		cmake:outsource
 USE_GITLAB=	yes
@@ -19,11 +21,16 @@ GL_ACCOUNT=	OpenPaperwork
 GL_COMMIT=	3a7ebba75f4c060ac1707900bd8891e8d200b1c6
 USE_LDCONFIG=	yes
 
+TEST_USES=	python
+
 PLIST_FILES=	include/pillowfight/pillowfight.h \
 		include/pillowfight/util.h \
 		lib/libpillowfight.so
 
 pre-configure:
 	@cd ${WRKSRC} && ${GMAKE} version
+
+do-test: # many tests fail due to various reasons: https://gitlab.gnome.org/World/OpenPaperwork/libpillowfight/issues/18#note_279228
+	@cd ${WRKSRC} && ${GMAKE} test
 
 .include <bsd.port.mk>



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