svn commit: r480265 - head/devel/py-tree-format

Matthew Seaman matthew at FreeBSD.org
Fri Sep 21 12:45:15 UTC 2018


Author: matthew
Date: Fri Sep 21 12:45:14 2018
New Revision: 480265
URL: https://svnweb.freebsd.org/changeset/ports/480265

Log:
  Fix the do-test target: tox is fine for manual testing but doesn't
  integrate well with poudriere.
  
  Reported by:	koobs

Modified:
  head/devel/py-tree-format/Makefile

Modified: head/devel/py-tree-format/Makefile
==============================================================================
--- head/devel/py-tree-format/Makefile	Fri Sep 21 12:20:22 2018	(r480264)
+++ head/devel/py-tree-format/Makefile	Fri Sep 21 12:45:14 2018	(r480265)
@@ -20,6 +20,8 @@ USE_PYTHON=	autoplist concurrent distutils
 NO_ARCH=	yes
 
 do-test:
-	@cd ${WRKSRC} && ${LOCALBASE}/bin/tox-${PYTHON_VER} -e py${PYTHON_SUFFIX}
+	cd ${WRKSRC} && \
+	${PYTHON_CMD} setup.py --version && \
+	${PYTHON_CMD} -m unittest discover tree_format.tests
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list