On 27/03/2019 7:36 pm, Wen Heping wrote:
+do-test:
+ @cd ${WRKSRC} && py.test
Use the specific Python version for this invocation, as only the default
version of py.test gets the version-less script name, so it wont work
for non-default builds of this port.
${PYTHON_CMD} -m pytest (preferred)
or
LOCALBASE/bin/py.test-${PYTHON_VER)
If the setup.py file has an integrated test command (try python setup.py
test to check), this becomes the preferred method:
${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
_______________________________________________
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"