svn commit: r398481 - head/devel/py-gevent
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Oct 3 17:07:25 UTC 2015
Author: sunpoet
Date: Sat Oct 3 17:07:24 2015
New Revision: 398481
URL: https://svnweb.freebsd.org/changeset/ports/398481
Log:
- Convert to new test framework
Modified:
head/devel/py-gevent/Makefile
Modified: head/devel/py-gevent/Makefile
==============================================================================
--- head/devel/py-gevent/Makefile Sat Oct 3 17:07:20 2015 (r398480)
+++ head/devel/py-gevent/Makefile Sat Oct 3 17:07:24 2015 (r398481)
@@ -16,13 +16,13 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gree
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}greenlet>=0.4.7:${PORTSDIR}/devel/py-greenlet \
${PYTHON_PKGNAMEPREFIX}sqlite3>=0:${PORTSDIR}/databases/py-sqlite3
+DO_MAKE_TEST= ${SETENV} PYTHONPATH=../ ${PYTHON_CMD}
+TEST_TARGET= testrunner.py
+TEST_WRKSRC= ${WRKSRC}/greentest
USE_PYTHON= autoplist distutils
USES= python:2
post-build:
@${STRIP_CMD} ${WRKSRC}/gevent/_semaphore.so ${WRKSRC}/gevent/_util.so ${WRKSRC}/gevent/ares.so ${WRKSRC}/gevent/core.so
-regression-test test: build
- cd ${WRKSRC}/greentest/ && ${SETENV} PYTHONPATH=../ ${PYTHON_CMD} testrunner.py
-
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list