Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Mar 2021 22:17:20 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r567659 - head/devel/py-asynctest
Message-ID:  <202103072217.127MHKOB038655@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Mar  7 22:17:20 2021
New Revision: 567659
URL: https://svnweb.freebsd.org/changeset/ports/567659

Log:
  Convert to test framework

Modified:
  head/devel/py-asynctest/Makefile

Modified: head/devel/py-asynctest/Makefile
==============================================================================
--- head/devel/py-asynctest/Makefile	Sun Mar  7 22:17:14 2021	(r567658)
+++ head/devel/py-asynctest/Makefile	Sun Mar  7 22:17:20 2021	(r567659)
@@ -13,8 +13,11 @@ COMMENT=	Enhance unittest for testing asyncio librarie
 LICENSE=	APACHE20
 
 USES=		python:3.5+
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
+
+do-test:
+	cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v test
 
 .include <bsd.port.mk>



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