mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-afdko-3.6.1: Fix tests.
* gnu/packages/fontutils.scm (python-afdko-3.6.1)[arguments] <phases>: Use custom 'check. [native-inputs]: Add python-pytest-xdist. Change-Id: I6a8f012e1dc72f13aa0033145c030f1011e37f6d
This commit is contained in:
parent
6131b39d4b
commit
df0983ff05
1 changed files with 18 additions and 1 deletions
|
@ -399,10 +399,27 @@ but also provides many useful font conversion and analysis facilities.
|
|||
"CFLAGS = -Wno-error=incompatible-pointer-types"))))
|
||||
(add-before 'build 'set-CC
|
||||
(lambda _
|
||||
(setenv "CC" "gcc"))))))
|
||||
(setenv "CC" "gcc")))
|
||||
(replace 'check
|
||||
;; tests: 646 passed, 4 skipped, 40 warnings
|
||||
;; TODO: Try to fix more tests if this package is still required.
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(setenv "HOME" "/tmp")
|
||||
(invoke "pytest" "-vv"
|
||||
"-n" (number->string (min 8 (parallel-job-count)))
|
||||
"--ignore=tests/buildcff2vf_test.py"
|
||||
"--ignore=tests/comparefamily_test.py"
|
||||
"--ignore=tests/makeinstancesufo_test.py"
|
||||
"--ignore=tests/makeotf_test.py"
|
||||
"--ignore=tests/makeotfexe_test.py"
|
||||
"--ignore=tests/otc2otf_test.py"
|
||||
"--ignore=tests/otf2ttf_test.py"
|
||||
"--ignore=tests/ttxn_test.py")))))))
|
||||
(native-inputs
|
||||
(list pkg-config
|
||||
python-pytest
|
||||
python-pytest-xdist
|
||||
python-setuptools-scm
|
||||
python-wheel))
|
||||
(inputs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue