pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel The plugin provides two options to rerun failure...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ef41b83bb7a2
branches:  trunk
changeset: 366999:ef41b83bb7a2
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Aug 21 15:10:48 2017 +0000

description:
The plugin provides two options to rerun failures, namely --lf to only re-run
the failures and --ff to run all tests but the failures from the last run
first. For cleanup (usually not needed), a --clearcache option allows to
remove all cross-session cache contents ahead of a test run.

diffstat:

 devel/Makefile               |   3 ++-
 devel/py-test-cache/DESCR    |   4 ++++
 devel/py-test-cache/Makefile |  19 +++++++++++++++++++
 devel/py-test-cache/PLIST    |  10 ++++++++++
 devel/py-test-cache/distinfo |   6 ++++++
 5 files changed, 41 insertions(+), 1 deletions(-)

diffs (72 lines):

diff -r 09f1562b03d0 -r ef41b83bb7a2 devel/Makefile
--- a/devel/Makefile    Mon Aug 21 15:06:53 2017 +0000
+++ b/devel/Makefile    Mon Aug 21 15:10:48 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2487 2017/08/21 13:27:22 nils Exp $
+# $NetBSD: Makefile,v 1.2488 2017/08/21 15:10:48 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -2081,6 +2081,7 @@
 SUBDIR+=       py-sysctl
 SUBDIR+=       py-tabular
 SUBDIR+=       py-test
+SUBDIR+=       py-test-cache
 SUBDIR+=       py-test-cov
 SUBDIR+=       py-test-forked
 SUBDIR+=       py-test-mock
diff -r 09f1562b03d0 -r ef41b83bb7a2 devel/py-test-cache/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-cache/DESCR Mon Aug 21 15:10:48 2017 +0000
@@ -0,0 +1,4 @@
+The plugin provides two options to rerun failures, namely --lf to only re-run
+the failures and --ff to run all tests but the failures from the last run
+first. For cleanup (usually not needed), a --clearcache option allows to
+remove all cross-session cache contents ahead of a test run.
diff -r 09f1562b03d0 -r ef41b83bb7a2 devel/py-test-cache/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-cache/Makefile      Mon Aug 21 15:10:48 2017 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2017/08/21 15:10:48 adam Exp $
+
+DISTNAME=      pytest-cache-1.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-cache/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://bitbucket.org/hpk42/pytest-cache/
+COMMENT=       Pytest plugin with mechanisms for caching across test runs
+LICENSE=       mit
+
+DEPENDS+=      ${PYPKGPREFIX}-execnet>=1.2:../../devel/py-execnet
+DEPENDS+=      ${PYPKGPREFIX}-test>=2.2:../../devel/py-test
+
+USE_LANGUAGES=         # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 09f1562b03d0 -r ef41b83bb7a2 devel/py-test-cache/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-cache/PLIST Mon Aug 21 15:10:48 2017 +0000
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/21 15:10:48 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}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pytest_cache.py
+${PYSITELIB}/pytest_cache.pyc
+${PYSITELIB}/pytest_cache.pyo
diff -r 09f1562b03d0 -r ef41b83bb7a2 devel/py-test-cache/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-cache/distinfo      Mon Aug 21 15:10:48 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/21 15:10:48 adam Exp $
+
+SHA1 (pytest-cache-1.0.tar.gz) = 94d0a6512b888a3f36b2ae5748ceb789ddee5681
+RMD160 (pytest-cache-1.0.tar.gz) = 1b3714383bd9725166a324680215c7cf89cb58b4
+SHA512 (pytest-cache-1.0.tar.gz) = 55eb66718a45fb0ad8931780d96fa4715cf0d9f2568be2a1b08b3399d391b818a7ae8b2afeb74b50aaf8ec8f7f0d8da8e7a7483845a50e884822ca6ddbca03ea
+Size (pytest-cache-1.0.tar.gz) = 16242 bytes



Home | Main Index | Thread Index | Old Index