Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2018 12:45:14 +0000 (UTC)
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r480265 - head/devel/py-tree-format
Message-ID:  <201809211245.w8LCjEGN035157@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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