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

commit 482bf05c681f3575c7466423e2d7de2d4cb9f59b
Author: Efraim Flashner <[email protected]>
AuthorDate: Mon Oct 21 15:00:32 2024 +0300

    gnu: findutils-boot0: Adjust the skipped tests on riscv64-linux.
    
    * gnu/packages/commencement.scm (findutils-boot0)[arguments]: In the
    custom 'skip-problematic-tests phase adjust the tests skipped on
    riscv64-linux.
    
    Change-Id: I6252c69d088a27d4989b324ad64378102b7b5de2
---
 gnu/packages/commencement.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index ce9b6f70e1..4f6182cab8 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2815,6 +2815,13 @@ exec " gcc "/bin/" program
                          (("^XFAIL_TESTS =")
                           "XFAIL_TESTS = test-fnmatch ")
                          (("test-pthread-thread\\$\\(EXEEXT\\)") "")))
+                     ("riscv64-linux"
+                      '(substitute* "gnulib-tests/Makefile"
+                         ;; These tests fails non-deterministically.
+                         (("test-hard-locale\\$\\(EXEEXT\\)") "")
+                         (("test-sigprocmask\\$\\(EXEEXT\\)") "")
+                         (("test-setlocale_null-mt-all\\$\\(EXEEXT\\)") "")
+                         (("test-pthread_sigmask1\\$\\(EXEEXT\\)") "")))
                      (_
                       ;; XXX: The pthread tests are known to fail at least on
                       ;; ARM; skip them.
@@ -3312,7 +3319,7 @@ exec " gcc "/bin/" program
        #:make-flags `("ARFLAGS=crD"
                       ,,(match (%current-system)
                           ;; ranlib: '-D': No such file
-                          ((or "i686-linux" "x86_64-linux")
+                          ((or "i686-linux" "x86_64-linux" "riscv64-linux")
                            "RANLIB=ranlib")
                           (_
                            "RANLIB=ranlib -D"))
@@ -3322,7 +3329,7 @@ exec " gcc "/bin/" program
        ;; Thus, use the Gnulib replacement instead.  See
        ;; <https://bugs.gnu.org/49367>.
        ,@(match (%current-system)
-           ((or "i686-linux" "x86_64-linux")
+           ((or "i686-linux" "x86_64-linux" "riscv64-linux")
             '())
            (_
             '(#:configure-flags '("gl_cv_func_posix_spawn_works=no"))))

Reply via email to