[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch wip-hurd updated: gnu: graphite2: Skip test for the hurd.
From: |
guix-commits |
Subject: |
branch wip-hurd updated: gnu: graphite2: Skip test for the hurd. |
Date: |
Tue, 13 Jun 2023 03:28:24 -0400 |
This is an automated email from the git hooks/post-receive script.
janneke pushed a commit to branch wip-hurd
in repository guix.
The following commit(s) were added to refs/heads/wip-hurd by this push:
new a71992740f gnu: graphite2: Skip test for the hurd.
a71992740f is described below
commit a71992740fba6a9de6eede555ee8cdc4829ab51a
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Jun 13 08:35:57 2023 +0200
gnu: graphite2: Skip test for the hurd.
* gnu/packages/fontutils.scm (graphite2)[arguments]: When building for the
Hurd, replace phase 'check' to set make-flags to skip "awamicmp3" test.
---
gnu/packages/fontutils.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index ffaaa5caca..13117d2491 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -15,6 +15,7 @@
;;; Copyright © 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2022 Felipe Balbi <balbi@kernel.org>
+;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1357,6 +1358,25 @@ applications should be.")
(list python python-fonttools-minimal))
(inputs
(list freetype))
+ (arguments
+ (if (target-hurd?)
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ ;; cmake-build-system ignores #:make-flags for make check
+ (lambda* (#:key test-target tests? parallel-tests?
+ #:allow-other-keys)
+ (if tests?
+ (let ((jobs (if parallel-tests?
+ (number->string (parallel-job-count))
+ "1")))
+ (invoke "make"
+ (string-append
+ "ARGS=-j " jobs " --exclude-regex ^awamicmp3$")
+ test-target))
+ (format #t "test suite not run~%"))))))
+ '()))
(synopsis "Reimplementation of the SIL Graphite text processing engine")
(description
"Graphite2 is a reimplementation of the SIL Graphite text processing
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch wip-hurd updated: gnu: graphite2: Skip test for the hurd.,
guix-commits <=