aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-06-26 08:43:59 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-06-26 08:43:59 +0000
commitc7e1138a96d67e7bebcb6f14f8e371b9b695f29d (patch)
treeace769119c37b4f451ca3b177c7e4eb42c33c861
parenta9eca6cb7cc904beef9edcebcca43933905af979 (diff)
Notes
-rw-r--r--devel/py-gevent/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/py-gevent/Makefile b/devel/py-gevent/Makefile
index be8e39135878..2ab08a860165 100644
--- a/devel/py-gevent/Makefile
+++ b/devel/py-gevent/Makefile
@@ -28,10 +28,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR
USES= localbase python
USE_PYTHON= autoplist concurrent distutils
-DO_MAKE_TEST= ${SETENV} PYTHONPATH=../ ${PYTHON_CMD}
MAKE_ENV= GEVENTSETUP_EMBED_CARES=0 GEVENTSETUP_EMBED_LIBEV=0 GEVENTSETUP_EMBED_LIBUV=0
-TEST_TARGET= testrunner.py
-TEST_WRKSRC= ${WRKSRC}/greentest
.include <bsd.port.pre.mk>
@@ -45,4 +42,7 @@ post-patch:
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
+do-test:
+ cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} ${PYTHON_CMD} -m gevent.tests --config known_failures.py
+
.include <bsd.port.post.mk>