devel/py-test-timeout
"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." Needed to enable tests on (at least) www/py-aiohttp Version 1.3.3 OK kn@
This commit is contained in:
parent
45371bc33c
commit
f54da8e9d3
33
devel/py-test-timeout/Makefile
Normal file
33
devel/py-test-timeout/Makefile
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# $OpenBSD: Makefile,v 1.1.1.1 2019/12/27 05:16:59 kmos Exp $
|
||||||
|
|
||||||
|
COMMENT = pytest plugin to abort hanging tests
|
||||||
|
|
||||||
|
MODPY_EGG_VERSION = 1.3.3
|
||||||
|
|
||||||
|
DISTNAME = pytest-timeout-${MODPY_EGG_VERSION}
|
||||||
|
PKGNAME = ${DISTNAME:S/py/py-/}
|
||||||
|
|
||||||
|
CATEGORIES = devel
|
||||||
|
|
||||||
|
HOMEPAGE = https://github.com/pytest-dev/pytest-timeout
|
||||||
|
|
||||||
|
MAINTAINER = Kurt Mosiejczuk <kmos@openbsd.org>
|
||||||
|
|
||||||
|
# MIT
|
||||||
|
PERMIT_PACKAGE = Yes
|
||||||
|
|
||||||
|
MODULES = lang/python
|
||||||
|
|
||||||
|
MODPY_PI = Yes
|
||||||
|
MODPY_SETUPTOOLS = Yes
|
||||||
|
MODPY_PYTEST = Yes
|
||||||
|
|
||||||
|
RUN_DEPENDS = devel/py-test${MODPY_FLAVOR}
|
||||||
|
TEST_DEPENDS = ${FULLPKGNAME}:${FULLPKGPATH}
|
||||||
|
|
||||||
|
TEST_ENV += PYTHONPATH="."
|
||||||
|
|
||||||
|
FLAVORS = python3
|
||||||
|
FLAVOR ?=
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
2
devel/py-test-timeout/distinfo
Normal file
2
devel/py-test-timeout/distinfo
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SHA256 (pytest-timeout-1.3.3.tar.gz) = SjC6doN6Mse3zVyE7pkz/eS5AisM0g6n1KV3wqFkn7E=
|
||||||
|
SIZE (pytest-timeout-1.3.3.tar.gz) = 11627
|
5
devel/py-test-timeout/pkg/DESCR
Normal file
5
devel/py-test-timeout/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
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.
|
10
devel/py-test-timeout/pkg/PLIST
Normal file
10
devel/py-test-timeout/pkg/PLIST
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
@comment $OpenBSD: PLIST,v 1.1.1.1 2019/12/27 05:16:59 kmos Exp $
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}pytest_timeout.${MODPY_PYC_MAGIC_TAG}pyc
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pytest_timeout-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pytest_timeout-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pytest_timeout-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pytest_timeout-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pytest_timeout-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/entry_points.txt
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pytest_timeout-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pytest_timeout-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pytest_timeout.py
|
Loading…
x
Reference in New Issue
Block a user