fix tests

This commit is contained in:
sthen 2022-11-14 16:09:37 +00:00
parent 0114808891
commit ae46bcd548
1 changed files with 6 additions and 4 deletions

View File

@ -20,11 +20,13 @@ RUN_DEPENDS = devel/py-dill${MODPY_FLAVOR}
MODPY_PI = Yes
MODPY_PYBUILD = setuptools
NO_TEST = Yes
# needs "test.support" from somewhere..?
MODPY_PYTEST_ARGS = py${MODPY_VERSION}/multiprocess/tests
FLAVORS = python3
FLAVOR = python3
TEST_DEPENDS = lang/python/${MODPY_VERSION},-tests
do-test:
ln -fs ${MODPY_BIN} ${WRKDIR}/bin/python
cd ${WRKSRC}; ${SETENV} ${ALL_TEST_ENV} ${MODPY_BIN} -m multiprocess.tests
.include <bsd.port.mk>