guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/08: gnu: texlive-bin: Skip faulty tests on armhf-linux.


From: guix-commits
Subject: 02/08: gnu: texlive-bin: Skip faulty tests on armhf-linux.
Date: Wed, 2 Mar 2022 13:27:07 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit ca6de276db0de1a4b7fdd29dbfea401937f50ff7
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Mar 2 15:48:15 2022 +0100

    gnu: texlive-bin: Skip faulty tests on armhf-linux.
    
    Fixes <https://issues.guix.gnu.org/54055>.
    Reported by Christopher Baines <mail@cbaines.net>.
    
    * gnu/packages/tex.scm (texlive-bin)[arguments]: When 'target-arm32?' is
    true, add 'skip-faulty-test' phase.
---
 gnu/packages/tex.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 531f866b58..90f3500f11 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -436,6 +436,18 @@ files from LOCATIONS with expected checksum HASH.  CODE is 
not currently in use.
            (lambda _
              (substitute* "texk/kpathsea/config.h"
                (("#define ST_NLINK_TRICK") ""))))
+
+         ,@(if (target-arm32?)
+               `((add-after 'unpack 'skip-faulty-test
+                   (lambda _
+                     ;; Skip this faulty test on armhf-linux:
+                     ;;   https://issues.guix.gnu.org/54055
+                     (substitute* '("texk/mendexk/tests/mendex.test"
+                                    "texk/upmendex/tests/upmendex.test")
+                       (("^TEXMFCNF=" all)
+                        (string-append "exit 77 # skip\n" all))))))
+               '())
+
          (add-after 'check 'customize-texmf.cnf
            ;; The default texmf.cnf is provided by this package, texlive-bin.
            ;; Every variable of interest is set relatively to the GUIX_TEXMF



reply via email to

[Prev in Thread] Current Thread [Next in Thread]