svn commit: r475973 - head/graphics/libpillowfight

Yuri Victorovich yuri at FreeBSD.org
Tue Jul 31 07:18:41 UTC 2018


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>


More information about the svn-ports-all mailing list