mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: findutils-boot0: Fix test suite on some systems.
This is a follow-up to 3a0c7e7d1e
.
* gnu/packages/commencement.scm (findutils-boot0)[arguments]: Only add
custom 'skip-fnmatch-test phase on x86_64-linux and i686-linux.
This commit is contained in:
parent
6dd338ee1b
commit
f08b070019
1 changed files with 11 additions and 8 deletions
|
@ -2512,14 +2512,17 @@ (define findutils-boot0
|
|||
,flags))
|
||||
((#:phases phases '%standard-phases)
|
||||
`(modify-phases ,phases
|
||||
(add-before 'check 'skip-fnmatch-test
|
||||
(lambda _
|
||||
;; 'test-fnmatch' fails when using glibc-mesboot@2.16, due
|
||||
;; to incorrect handling of the [:alpha:] regexp character
|
||||
;; class. Ignore it.
|
||||
(substitute* "gnulib-tests/Makefile"
|
||||
(("^XFAIL_TESTS =")
|
||||
"XFAIL_TESTS = test-fnmatch ")))))))))))
|
||||
;; 'test-fnmatch' fails when using glibc-mesboot@2.16, due
|
||||
;; to incorrect handling of the [:alpha:] regexp character
|
||||
;; class. Ignore it.
|
||||
,@(if (string=? (%current-system)
|
||||
(or "x86_64-linux" "i686-linux"))
|
||||
'((add-before 'check 'skip-fnmatch-test
|
||||
(lambda _
|
||||
(substitute* "gnulib-tests/Makefile"
|
||||
(("^XFAIL_TESTS =")
|
||||
"XFAIL_TESTS = test-fnmatch ")))))
|
||||
'()))))))))
|
||||
|
||||
(define file
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue