FreeBSD Bugzilla – Attachment 197361 Details for
Bug 231555
Mk/Uses/python.mk: Add USE_PYTHON=pytest
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
python-pytest.patch (text/plain), 947 bytes, created by
Yuri Victorovich
on 2018-09-22 18:32:16 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2018-09-22 18:32:16 UTC
Size:
947 bytes
patch
obsolete
>Index: Mk/Uses/python.mk >=================================================================== >--- Mk/Uses/python.mk (revision 480287) >+++ Mk/Uses/python.mk (working copy) >@@ -115,6 +115,9 @@ > # > # noegginfo - Skip an egg-info entry from plist, if defined. > # >+# pytest - Test with pytest, uses TEST_ENV and TEST_ARGS >+# variables when they are set. >+# > # PYTHON_CMD - Python's command line file name, including the > # version number (used for dependencies). > # default: ${PYTHONBASE}/bin/${PYTHON_VERSION} >@@ -597,6 +600,11 @@ > . endfor > .endif > >+.if defined(_PYTHON_FEATURE_PYTEST) >+TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} >+DO_MAKE_TEST= ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest ${TEST_ARGS} >+.endif >+ > .if defined(_PYTHON_FEATURE_AUTOPLIST) && defined(_PYTHON_FEATURE_DISTUTILS) > _RELSITELIBDIR= ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} > _RELLIBDIR= ${PYTHONPREFIX_LIBDIR:S;${PREFIX}/;;}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 231555
:
197313
|
197333
|
197357
| 197361