guix-commits
[Top][All Lists]
Advanced

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

branch wip-riscv updated: squash icu4c


From: guix-commits
Subject: branch wip-riscv updated: squash icu4c
Date: Wed, 11 Aug 2021 13:15:32 -0400

This is an automated email from the git hooks/post-receive script.

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

The following commit(s) were added to refs/heads/wip-riscv by this push:
     new 4bb1839  squash icu4c
4bb1839 is described below

commit 4bb18396f0758ef4d53aea3d0ecc3f8407a66efb
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Aug 11 20:13:47 2021 +0300

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

diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm
index e2ef6a7..13db71a 100644
--- a/gnu/packages/icu4c.scm
+++ b/gnu/packages/icu4c.scm
@@ -68,7 +68,6 @@
               '((string-append "--with-cross-build="
                                 (assoc-ref %build-inputs "icu4c-build-root")))
               '()))
-      #:tests? ,(not (target-riscv?))       ; TODO: Fix failing test.
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'chdir-to-source
@@ -81,6 +80,14 @@
               (("LDFLAGSICUDT=-nodefaultlibs -nostdlib")
                "LDFLAGSICUDT="))
             #t))
+        ,@(if (target-riscv?)
+            `((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]