~ruther/guix-local

b268842ec4808f5030f3bda95f52ff39dd88e3ad — Hilton Chain 2 years ago 848db3c
gnu: psautohint: Disable flaky tests.

* gnu/packages/fontutils.scm (psautohint)[arguments]: Disable tests
test_hashmap_no_version and test_hashmap_old_version.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
1 files changed, 12 insertions(+), 3 deletions(-)

M gnu/packages/fontutils.scm
M gnu/packages/fontutils.scm => gnu/packages/fontutils.scm +12 -3
@@ 789,9 789,18 @@ suite of the @code{psautohint} package.")
    (build-system pyproject-build-system)
    (arguments
     (list
      ;; The CJKSparseVar.subset.hinted.otf test fails with slightly different
      ;; output caused by the newer fonttools version used in Guix.
      #:test-flags #~(list "-k" "not CJKSparseVar.subset.hinted.otf")
      #:test-flags
      #~(list "-k"
              (string-join
               '(;; The CJKSparseVar.subset.hinted.otf test fails with slightly
                 ;; different output caused by the newer fonttools version used
                 ;; in Guix.
                 "not CJKSparseVar.subset.hinted.otf"
                 ;; These tests fails underministically, See also:
                 ;; https://github.com/adobe-type-tools/afdko/issues/1678
                 "not test_hashmap_no_version"
                 "not test_hashmap_old_version")
               " and "))
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'copy-font-data