Received: by mail.netbsd.org (Postfix, from userid 605) id 763D184DC9; Thu, 19 Oct 2017 06:52:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 00AA384D03 for ; Thu, 19 Oct 2017 06:52:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id yTWRubrfrhjx for ; Thu, 19 Oct 2017 06:52:03 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 6079A84CE4 for ; Thu, 19 Oct 2017 06:52:03 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 59F8BFBC7; Thu, 19 Oct 2017 06:52:03 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1508395923141820" MIME-Version: 1.0 Date: Thu, 19 Oct 2017 06:52:03 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/devel/py-test-timeout To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20171019065203.59F8BFBC7@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1508395923141820 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Thu Oct 19 06:52:03 UTC 2017 Added Files: pkgsrc/devel/py-test-timeout: DESCR Makefile PLIST distinfo Log Message: This is a plugin which will terminate tests after a certain timeout. When doing so it will show a stack dump of all threads running at the time. This is useful when running tests under a continuous integration server or simply if you don't know why the test suite hangs. Note that while by default on POSIX systems py.test will continue to execute the tests after a test has timed, out this is not always possible. Often the only sure way to interrupt a hanging test is by terminating the entire process. As this is a hard termination (os._exit()) it will result in no teardown, JUnit XML output etc. But the plugin will ensure you will have the debugging output on stderr nevertheless, which is the most important part at this stage. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-test-timeout/DESCR \ pkgsrc/devel/py-test-timeout/Makefile pkgsrc/devel/py-test-timeout/PLIST \ pkgsrc/devel/py-test-timeout/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1508395923141820 Content-Disposition: inline Content-Length: 3240 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/devel/py-test-timeout/DESCR diff -u /dev/null pkgsrc/devel/py-test-timeout/DESCR:1.1 --- /dev/null Thu Oct 19 06:52:03 2017 +++ pkgsrc/devel/py-test-timeout/DESCR Thu Oct 19 06:52:03 2017 @@ -0,0 +1,11 @@ +This is a plugin which will terminate tests after a certain timeout. When doing +so it will show a stack dump of all threads running at the time. This is useful +when running tests under a continuous integration server or simply if you don't +know why the test suite hangs. + +Note that while by default on POSIX systems py.test will continue to execute +the tests after a test has timed, out this is not always possible. Often the +only sure way to interrupt a hanging test is by terminating the entire process. +As this is a hard termination (os._exit()) it will result in no teardown, JUnit +XML output etc. But the plugin will ensure you will have the debugging output +on stderr nevertheless, which is the most important part at this stage. Index: pkgsrc/devel/py-test-timeout/Makefile diff -u /dev/null pkgsrc/devel/py-test-timeout/Makefile:1.1 --- /dev/null Thu Oct 19 06:52:03 2017 +++ pkgsrc/devel/py-test-timeout/Makefile Thu Oct 19 06:52:03 2017 @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2017/10/19 06:52:03 adam Exp $ + +DISTNAME= pytest-timeout-1.2.0 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} +CATEGORIES= devel python +MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-timeout/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://bitbucket.org/pytest-dev/pytest-timeout/ +COMMENT= Py.test plugin to abort hanging tests +LICENSE= mit + +DEPENDS+= ${PYPKGPREFIX}-test>=2.8.0:../../devel/py-test + +USE_LANGUAGES= # none + +#post-install: +# cd ${DESTDIR}${PREFIX}/bin && \ +# ${MV} py.test py.test-${PYVERSSUFFIX} && \ +# ${MV} pytest pytest-${PYVERSSUFFIX} || ${TRUE} + +.include "../../lang/python/application.mk" +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/devel/py-test-timeout/PLIST diff -u /dev/null pkgsrc/devel/py-test-timeout/PLIST:1.1 --- /dev/null Thu Oct 19 06:52:03 2017 +++ pkgsrc/devel/py-test-timeout/PLIST Thu Oct 19 06:52:03 2017 @@ -0,0 +1,10 @@ +@comment $NetBSD: PLIST,v 1.1 2017/10/19 06:52:03 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_timeout.py +${PYSITELIB}/pytest_timeout.pyc +${PYSITELIB}/pytest_timeout.pyo Index: pkgsrc/devel/py-test-timeout/distinfo diff -u /dev/null pkgsrc/devel/py-test-timeout/distinfo:1.1 --- /dev/null Thu Oct 19 06:52:03 2017 +++ pkgsrc/devel/py-test-timeout/distinfo Thu Oct 19 06:52:03 2017 @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/10/19 06:52:03 adam Exp $ + +SHA1 (pytest-timeout-1.2.0.tar.gz) = 6895457de75f39992af318693136fd05d2c825f7 +RMD160 (pytest-timeout-1.2.0.tar.gz) = 3e0674c33446d700105f90fc1c7afcf252bfe932 +SHA512 (pytest-timeout-1.2.0.tar.gz) = b86548843e9ff8c8f7d1c39735025cdfa98befe2860e2a8a5d422d08bd7f542032384f147125a2a2841268154cc3a3874ef0aa4765d454fd5390edb773b106ae +Size (pytest-timeout-1.2.0.tar.gz) = 13258 bytes --_----------=_1508395923141820--