[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/19: gnu: python-afdko: Run tests in parallel.
From: |
guix-commits |
Subject: |
03/19: gnu: python-afdko: Run tests in parallel. |
Date: |
Fri, 16 Sep 2022 13:04:19 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 937215d562f65cd24c0113ebc3663e93fec0f595
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Sep 16 08:08:02 2022 +0200
gnu: python-afdko: Run tests in parallel.
* gnu/packages/fontutils.scm (python-afdko)[arguments]: Adjust check phase
for
parallel execution.
[native-inputs]: Add PYTHON-PYTEST-XDIST.
---
gnu/packages/fontutils.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 257c7d4e37..6f0cc4f586 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -198,7 +198,8 @@ them as it goes.")
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(setenv "HOME" "/tmp")
- (invoke "pytest" "-vv"))))
+ (invoke "pytest" "-vv" "--dist" "loadfile" "-n"
+ (number->string (parallel-job-count))))))
(add-after 'check 'wrap
(assoc-ref %standard-phases 'wrap))
(add-before 'wrap 'wrap-PATH
@@ -217,6 +218,7 @@ them as it goes.")
openjdk ;required by antlr4
ninja
python-pytest
+ python-pytest-xdist
python-scikit-build
python-setuptools-scm
python-wheel))
- 17/19: gnu: antlr4: Update to 4.10.1., (continued)
- 17/19: gnu: antlr4: Update to 4.10.1., guix-commits, 2022/09/16
- 01/19: gnu: hitch: Update to 1.7.3., guix-commits, 2022/09/16
- 02/19: gnu: nfs-utils: Remove unused input., guix-commits, 2022/09/16
- 04/19: gnu: Add python-openstep-plist., guix-commits, 2022/09/16
- 15/19: gnu: font-amiri: Update to 0.117., guix-commits, 2022/09/16
- 10/19: gnu: python-compreffor: Update to 0.5.2., guix-commits, 2022/09/16
- 08/19: gnu: python-defcon: Update to 0.10.2., guix-commits, 2022/09/16
- 07/19: gnu: python-fontmath: Update to 0.9.2., guix-commits, 2022/09/16
- 05/19: gnu: Add python-glyphslib., guix-commits, 2022/09/16
- 13/19: gnu: psautohint: Build with python-fonttools-next., guix-commits, 2022/09/16
- 03/19: gnu: python-afdko: Run tests in parallel.,
guix-commits <=
- 14/19: gnu: python-ufo2ft: Update to 2.28.0., guix-commits, 2022/09/16
- 18/19: gnu: Add meson-python., guix-commits, 2022/09/16
- 19/19: gnu: python-scipy: Update to 1.9.1., guix-commits, 2022/09/16