From e39101e7178e5382bb9a89b8688a1a9a7e810e1a Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley Date: Jan 31 2023 22:06:50 +0000 Subject: Run tests in parallel --- diff --git a/python-trimesh.spec b/python-trimesh.spec index 8e697ea..4648c30 100644 --- a/python-trimesh.spec +++ b/python-trimesh.spec @@ -29,6 +29,9 @@ Source0: https://github.com/mikedh/trimesh/archive/%{version}/trimesh-%{v BuildRequires: python3-devel +# Run tests in parallel: +BuildRequires: python3dist(pytest-xdist) + # Meshlab Server Does Not Work With XVFB # https://github.com/cnr-isti-vclab/meshlab/issues/237 # Upstream closed as WONTFIX @@ -269,7 +272,7 @@ EOF ) export PYTHONPATH="${PWD}/_stub:%{buildroot}%{python3_sitelib}" -%pytest -v -k "${k-}" +%pytest -v -k "${k-}" -n auto %files -n python3-trimesh