guix-commits
[Top][All Lists]
Advanced

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

03/03: gnu: findutils: Skip failing test on GNU/Hurd.


From: guix-commits
Subject: 03/03: gnu: findutils: Skip failing test on GNU/Hurd.
Date: Thu, 27 Oct 2022 19:30:13 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit d520fdec3c7a11bc70ab83d0ebc6372389992d04
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Oct 28 01:25:56 2022 +0200

    gnu: findutils: Skip failing test on GNU/Hurd.
    
    * gnu/packages/base.scm (findutils)[arguments]: Add #:make-flags.
    * gnu/packages/commencement.scm (findutils-boot0)[arguments]: Likewise.
---
 gnu/packages/base.scm         | 5 ++++-
 gnu/packages/commencement.scm | 4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index eba3c6d157..6164dc6d38 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -317,7 +317,10 @@ interactive means to merge two files.")
                      (substitute* '("tests/xargs/verbose-quote.sh"
                                     "tests/find/exec-plus-last-file.sh")
                        (("#!/bin/sh")
-                        (string-append "#!" (which "sh")))))))))
+                        (string-append "#!" (which "sh")))))))
+      #:make-flags ,(if (hurd-target?)
+                        ''("XFAIL_TESTS=test-perror2")
+                        ''())))
    (synopsis "Operating on files matching given criteria")
    (description
     "Findutils supplies the basic file directory searching utilities of the
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 60b06c0901..2062e7c1dc 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2526,7 +2526,9 @@ exec " gcc "/bin/" program
                            (substitute* "gnulib-tests/Makefile"
                              (("^XFAIL_TESTS =")
                               "XFAIL_TESTS = test-fnmatch ")))))
-                     '()))))))))
+                     '())))
+           ((#:make-flags flags ''())
+            ''()))))))
 
 (define file
   (package



reply via email to

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