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.
This commit is contained in:
Ludovic Courtès 2022-10-28 01:25:56 +02:00
parent 6c16eb24d1
commit d520fdec3c
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
2 changed files with 7 additions and 2 deletions

View file

@ -317,7 +317,10 @@ (define-public findutils
(substitute* '("tests/xargs/verbose-quote.sh" (substitute* '("tests/xargs/verbose-quote.sh"
"tests/find/exec-plus-last-file.sh") "tests/find/exec-plus-last-file.sh")
(("#!/bin/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") (synopsis "Operating on files matching given criteria")
(description (description
"Findutils supplies the basic file directory searching utilities of the "Findutils supplies the basic file directory searching utilities of the

View file

@ -2526,7 +2526,9 @@ (define findutils-boot0
(substitute* "gnulib-tests/Makefile" (substitute* "gnulib-tests/Makefile"
(("^XFAIL_TESTS =") (("^XFAIL_TESTS =")
"XFAIL_TESTS = test-fnmatch "))))) "XFAIL_TESTS = test-fnmatch ")))))
'())))))))) '())))
((#:make-flags flags ''())
''()))))))
(define file (define file
(package (package