guix-commits
[Top][All Lists]
Advanced

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

11/37: gnu: icu4c: Skip tests on riscv64-linux.


From: guix-commits
Subject: 11/37: gnu: icu4c: Skip tests on riscv64-linux.
Date: Tue, 2 Nov 2021 03:27:10 -0400 (EDT)

efraim pushed a commit to branch wip-riscv
in repository guix.

commit 7a1d2cd53245d63b7f31b6a15dbe91a4f97b5b22
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Aug 8 11:48:59 2021 +0300

    gnu: icu4c: Skip tests on riscv64-linux.
    
    * gnu/packages/icu4c.scm (icu4c)[arguments]: Add phase to skip failing
    test on riscv64-linux.
---
 gnu/packages/icu4c.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm
index b9671a6..2c91e6d 100644
--- a/gnu/packages/icu4c.scm
+++ b/gnu/packages/icu4c.scm
@@ -82,6 +82,14 @@
               (("LDFLAGSICUDT=-nodefaultlibs -nostdlib")
                "LDFLAGSICUDT="))
             #t))
+        ,@(if (target-riscv64?)
+            `((add-after 'unpack 'disable-failing-test
+                ;; It is unknown why this test is failing.
+                (lambda _
+                  (substitute* "source/test/intltest/numbertest_api.cpp"
+                    (("(TESTCASE_AUTO\\(unitUsage\\));" all)
+                     (string-append "//" all))))))
+            '())
         (add-after 'install 'avoid-coreutils-reference
           ;; Don't keep a reference to the build tools.
           (lambda* (#:key outputs #:allow-other-keys)



reply via email to

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