python3-hypothesis: use python3-pytest-xdist for fast checks
This commit is contained in:
parent
a919e9fd2e
commit
e7325a34bd
1 changed files with 3 additions and 3 deletions
|
@ -7,8 +7,8 @@ build_wrksrc=hypothesis-python
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python3-attrs python3-sortedcontainers"
|
depends="python3-attrs python3-sortedcontainers"
|
||||||
checkdepends="python3-pytest black python3-typing_extensions python3-pytz
|
checkdepends="python3-pytest-xdist black python3-typing_extensions
|
||||||
python3-numpy python3-pexpect python3-dateutil $depends"
|
python3-pytz python3-numpy python3-pexpect python3-dateutil $depends"
|
||||||
short_desc="Python3 library for property based testing"
|
short_desc="Python3 library for property based testing"
|
||||||
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||||||
license="MPL-2.0"
|
license="MPL-2.0"
|
||||||
|
@ -26,7 +26,7 @@ do_check() {
|
||||||
#
|
#
|
||||||
# The test_subTest_no_self function tries to run a separate
|
# The test_subTest_no_self function tries to run a separate
|
||||||
# interpreter, which will not see the local PYTHONPATH here.
|
# interpreter, which will not see the local PYTHONPATH here.
|
||||||
PYTHONPATH=src python3 -m pytest \
|
PYTHONPATH=src python3 -m pytest -n $XBPS_MAKEJOBS \
|
||||||
-k 'not test_settings_alone and not test_subTest_no_self' \
|
-k 'not test_settings_alone and not test_subTest_no_self' \
|
||||||
--ignore=tests/ghostwriter/test_ghostwriter_cli.py \
|
--ignore=tests/ghostwriter/test_ghostwriter_cli.py \
|
||||||
tests/{cover,datetime,typing_extensions,ghostwriter}
|
tests/{cover,datetime,typing_extensions,ghostwriter}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue