Subject: [PATCH] gnu: psautohint: Disable flaky tests.

From: Hilton Chain <[email-masked]>
Date: Tue, 26 Sep 2023 23:08:44 +0800

* gnu/packages/fontutils.scm (psautohint)[#:test-flags]: Disable tests
test_hashmap_no_version and test_hashmap_old_version.
---
 gnu/packages/fontutils.scm | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 18697cd821..c781ae2baf 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -789,9 +789,18 @@ (define-public psautohint
     (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

base-commit: b2887da40c6cb9d541a9df67aa726694f64d8943
-- 
2.41.0