On 15/11/2019 2:27 pm, Jan Beich wrote:
Kubilay Kocak <ko...@freebsd.org> writes:

The canonical pytest invocation is:

cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=

For a canonical it is uncommon. Besides, you've made mistakes:
- No braces around `cd` compared to what Porter's Handbook recommends
- No TEST_ENV in case tests need TZ=UTC, LANG=en_US.UTF-8, etc.


I wasn't being perfectly compliant to focus on the pytest specific invocation elements. Of course, framework mechanisms should be used where appropriate and it is recommended to do so.
_______________________________________________
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"

Reply via email to