mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: grep: Skip 'triple-backref' test.
* gnu/packages/base.scm (grep)[arguments]: Add 'skip-triple-backref-test' phase for GNU/Hurd.
This commit is contained in:
parent
2b151eb286
commit
02a4e54250
1 changed files with 13 additions and 1 deletions
|
@ -130,7 +130,19 @@ (define-public grep
|
|||
(substitute* (list (string-append bin "/egrep")
|
||||
(string-append bin "/fgrep"))
|
||||
(("^exec grep")
|
||||
(string-append "exec " bin "/grep")))))))
|
||||
(string-append "exec " bin "/grep"))))))
|
||||
,@(if (hurd-target?)
|
||||
'((add-before 'check 'skip-triple-backref-test
|
||||
(lambda _
|
||||
;; This test is marked as malfunctioning on glibc systems
|
||||
;; due to
|
||||
;; <https://sourceware.org/bugzilla/show_bug.cgi?id=11053>
|
||||
;; and it triggers a segfault with glibc 2.33 on GNU/Hurd.
|
||||
;; Skip it.
|
||||
(substitute* "tests/triple-backref"
|
||||
(("^warn_" all)
|
||||
(string-append "exit 77\n" all))))))
|
||||
'()))
|
||||
#:make-flags ,(if (hurd-target?)
|
||||
''("XFAIL_TESTS=test-perror2 equiv-classes") ;XXX
|
||||
''())))
|
||||
|
|
Loading…
Reference in a new issue