3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: diffutils: Skip failing test on GNU/Hurd.

* gnu/packages/base.scm (diffutils)[arguments]: Add #:make-flags.
* gnu/packages/commencement.scm (diffutils-boot0)[arguments]: Adjust to always
use substitute-keyword-arguments.
This commit is contained in:
Christopher Baines 2022-10-28 15:14:30 +01:00
parent fe20121dc7
commit 2a152e1a42
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577
2 changed files with 10 additions and 6 deletions

View file

@ -283,6 +283,10 @@ differences.")
"1v4g8gi0lgakqa7iix8s4fq7lq6l92vw3rjd9wfd2rhjng8xggd6"))
(patches (search-patches "diffutils-fix-signal-processing.patch"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags ,(if (hurd-target?)
''("XFAIL_TESTS=test-perror2")
''())))
(native-inputs (list perl))
(synopsis "Comparing and merging files")
(description

View file

@ -2475,15 +2475,15 @@ exec " gcc "/bin/" program
`(#:tests? #f ; the test suite needs diffutils
#:guile ,%bootstrap-guile
#:implicit-inputs? #f
,@(match (%current-system)
((or "arm-linux" "aarch64-linux")
(substitute-keyword-arguments (package-arguments diffutils)
((#:configure-flags flags ''())
,@(substitute-keyword-arguments (package-arguments diffutils)
((#:configure-flags flags ''())
(match (%current-system)
((or "arm-linux" "aarch64-linux")
;; The generated config.status has some problems due to the
;; bootstrap environment. Disable dependency tracking to work
;; around it.
`(cons "--disable-dependency-tracking" ,flags))))
(_ '()))))))
`(cons "--disable-dependency-tracking" ,flags))
(_ flags))))))))
(define findutils-boot0
(package