summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-10-27 11:31:41 +0200
committerLudovic Courtès <ludo@gnu.org>2022-10-28 01:27:22 +0200
commit6c16eb24d131bd4a35891d109a0bef424def7371 (patch)
treedae42fee0b54f6b0abd64aad3206fcbb8696efe2
parent842b73fd2bd9da3c93b2fa1b3923420d2f55ecb3 (diff)
downloadguix-6c16eb24d131bd4a35891d109a0bef424def7371.tar.gz
gnu: grep: Skip failing tests on GNU/Hurd.
* gnu/packages/base.scm (grep)[arguments]: Add #:make-flags.
-rw-r--r--gnu/packages/base.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index fe2bb387c3..eba3c6d157 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -130,7 +130,10 @@ command-line arguments, multiple languages, and so on.")
               (substitute* (list (string-append bin "/egrep")
                                  (string-append bin "/fgrep"))
                 (("^exec grep")
-                 (string-append "exec " bin "/grep")))))))))
+                 (string-append "exec " bin "/grep")))))))
+      #:make-flags ,(if (hurd-target?)
+                        ''("XFAIL_TESTS=test-perror2 equiv-classes") ;XXX
+                        ''())))
    (synopsis "Print lines matching a pattern")
    (description
      "grep is a tool for finding text inside files.  Text is found by