1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

Convert to test framework

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-06-26 08:44:44 +00:00
parent be6b6e4477
commit 943b94ccf6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=540453

View File

@ -13,9 +13,15 @@ COMMENT= Run and analyze benchmarks
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR}
USES= python:3.4+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
do-test:
cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} ${PYTHON_CMD} -m nose -d -v
.include <bsd.port.mk>