Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Dec 2020 22:21:16 +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: r558038 - head/www/py-hypercorn
Message-ID:  <202012132221.0BDMLGls046326@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Dec 13 22:21:15 2020
New Revision: 558038
URL: https://svnweb.freebsd.org/changeset/ports/558038

Log:
  Convert to test framework

Modified:
  head/www/py-hypercorn/Makefile

Modified: head/www/py-hypercorn/Makefile
==============================================================================
--- head/www/py-hypercorn/Makefile	Sun Dec 13 22:21:11 2020	(r558037)
+++ head/www/py-hypercorn/Makefile	Sun Dec 13 22:21:15 2020	(r558038)
@@ -47,4 +47,7 @@ UVLOOP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}uvloop>=0:d
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
 .endif
 
+do-test:
+	cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} ${PYTHON_CMD} -m pytest -rs -v
+
 .include <bsd.port.post.mk>



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