Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 2020 08:43:59 +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: r540443 - head/devel/py-gevent
Message-ID:  <202006260843.05Q8hxUW065565@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Jun 26 08:43:59 2020
New Revision: 540443
URL: https://svnweb.freebsd.org/changeset/ports/540443

Log:
  Fix make test

Modified:
  head/devel/py-gevent/Makefile

Modified: head/devel/py-gevent/Makefile
==============================================================================
--- head/devel/py-gevent/Makefile	Fri Jun 26 08:43:54 2020	(r540442)
+++ head/devel/py-gevent/Makefile	Fri Jun 26 08:43:59 2020	(r540443)
@@ -28,10 +28,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databa
 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>
 
@@ -44,5 +41,8 @@ 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>



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