BSD Ports

devel/py-pytest-timeout 2.1.0_1 MidnightBSD

Pytest plugin to abort hanging tests

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
devel, python

Description

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.

In the other systems

SystemPortVersion
MidnightBSDdevel/py-pytest-timeout2.1.0_1
FreeBSDdevel/py-pytest-timeout2.4.0
DragonFlydevel/py-pytest-timeout2.1.0_1
HardenedBSDdevel/py-pytest-timeout2.4.0
GhostBSDdevel/py-pytest-timeout2.4.0

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}pytest-timeout

From mports:

cd /usr/mports/devel/py-pytest-timeout && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-timeout>0:devel/py-pytest-timeout

Dependencies

As this port's Makefile names them.

Runtime 1

Test 2

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pytest-timeout-2.1.0.tar.gz18386c07ca07404c612f8abbe22294b23c368e2e5104b521c1790195561f37e1ac3d9
Master sites 1
  • PYPI