pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-test-xdist The pytest-xdist plugin extends py...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f2dd6a1daee
branches:  trunk
changeset: 362907:0f2dd6a1daee
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon May 29 10:38:43 2017 +0000

description:
The pytest-xdist plugin extends py.test with some unique test execution modes:
* test run parallelization: if you have multiple CPUs or hosts you can use
  those for a combined test run. This allows to speed up development or to use
  special resources of remote machines.
* --boxed: (not available on Windows) run each test in a boxed subprocess to
  survive SEGFAULTS or otherwise dying processes
* --looponfail: run your tests repeatedly in a subprocess. After each run
   py.test waits until a file in your project changes and then re-runs the
   previously failing tests. This is repeated until all tests pass after which
   again a full run is performed.
* Multi-Platform coverage: you can specify different Python interpreters or
  different platforms and run tests in parallel on all of them.

diffstat:

 devel/py-test-xdist/DESCR    |  12 ++++++++++++
 devel/py-test-xdist/Makefile |  20 ++++++++++++++++++++
 devel/py-test-xdist/PLIST    |  35 +++++++++++++++++++++++++++++++++++
 devel/py-test-xdist/distinfo |   6 ++++++
 4 files changed, 73 insertions(+), 0 deletions(-)

diffs (89 lines):

diff -r ff0197a0e471 -r 0f2dd6a1daee devel/py-test-xdist/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-xdist/DESCR Mon May 29 10:38:43 2017 +0000
@@ -0,0 +1,12 @@
+The pytest-xdist plugin extends py.test with some unique test execution modes:
+* test run parallelization: if you have multiple CPUs or hosts you can use
+  those for a combined test run. This allows to speed up development or to use
+  special resources of remote machines.
+* --boxed: (not available on Windows) run each test in a boxed subprocess to
+  survive SEGFAULTS or otherwise dying processes
+* --looponfail: run your tests repeatedly in a subprocess. After each run
+   py.test waits until a file in your project changes and then re-runs the
+   previously failing tests. This is repeated until all tests pass after which
+   again a full run is performed.
+* Multi-Platform coverage: you can specify different Python interpreters or
+  different platforms and run tests in parallel on all of them.
diff -r ff0197a0e471 -r 0f2dd6a1daee devel/py-test-xdist/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-xdist/Makefile      Mon May 29 10:38:43 2017 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2017/05/29 10:38:43 adam Exp $
+
+DISTNAME=      pytest-xdist-1.16.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-xdist/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/pytest-dev/pytest-xdist
+COMMENT=       Plugin for distributed testing and loop-on-failing modes
+LICENSE=       mit
+
+DEPENDS+=      ${PYPKGPREFIX}-execnet>=1.1:../../devel/py-execnet
+DEPENDS+=      ${PYPKGPREFIX}-py>=1.4.22:../../devel/py-py
+DEPENDS+=      ${PYPKGPREFIX}-test>=2.7.0:../../devel/py-test
+
+USE_LANGUAGES=         # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ff0197a0e471 -r 0f2dd6a1daee devel/py-test-xdist/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-xdist/PLIST Mon May 29 10:38:43 2017 +0000
@@ -0,0 +1,35 @@
+@comment $NetBSD: PLIST,v 1.1 2017/05/29 10:38:43 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/xdist/__init__.py
+${PYSITELIB}/xdist/__init__.pyc
+${PYSITELIB}/xdist/__init__.pyo
+${PYSITELIB}/xdist/_version.py
+${PYSITELIB}/xdist/_version.pyc
+${PYSITELIB}/xdist/_version.pyo
+${PYSITELIB}/xdist/boxed.py
+${PYSITELIB}/xdist/boxed.pyc
+${PYSITELIB}/xdist/boxed.pyo
+${PYSITELIB}/xdist/dsession.py
+${PYSITELIB}/xdist/dsession.pyc
+${PYSITELIB}/xdist/dsession.pyo
+${PYSITELIB}/xdist/looponfail.py
+${PYSITELIB}/xdist/looponfail.pyc
+${PYSITELIB}/xdist/looponfail.pyo
+${PYSITELIB}/xdist/newhooks.py
+${PYSITELIB}/xdist/newhooks.pyc
+${PYSITELIB}/xdist/newhooks.pyo
+${PYSITELIB}/xdist/plugin.py
+${PYSITELIB}/xdist/plugin.pyc
+${PYSITELIB}/xdist/plugin.pyo
+${PYSITELIB}/xdist/remote.py
+${PYSITELIB}/xdist/remote.pyc
+${PYSITELIB}/xdist/remote.pyo
+${PYSITELIB}/xdist/slavemanage.py
+${PYSITELIB}/xdist/slavemanage.pyc
+${PYSITELIB}/xdist/slavemanage.pyo
diff -r ff0197a0e471 -r 0f2dd6a1daee devel/py-test-xdist/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-xdist/distinfo      Mon May 29 10:38:43 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/05/29 10:38:43 adam Exp $
+
+SHA1 (pytest-xdist-1.16.0.tar.gz) = 0d631a2b3f8696a1609fce3fb2397fdd6b70da85
+RMD160 (pytest-xdist-1.16.0.tar.gz) = 80edfc36095b748e7fb94a876d6256e24efff9dc
+SHA512 (pytest-xdist-1.16.0.tar.gz) = 96811459c43ad2a3625bde98b9047434d7207e1d7170ccfb0a5648f3646b7a1f326b89f146a45ff394223f8276015632f5d2c38fc0e6b7a922eedbca5fe325a7
+Size (pytest-xdist-1.16.0.tar.gz) = 88393 bytes



Home | Main Index | Thread Index | Old Index