mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 06:36:37 -05:00
gnu: libgit2: Set ‘GITTEST_FLAKY_STAT’ when running tests on GNU/Hurd.
* gnu/packages/version-control.scm (libgit2)[arguments]: Install ‘pre-check’ phase when ‘target-hurd?’ returns true. Change-Id: I664d4aa2a0ad76a10a47ae7bc3c5912756972b46
This commit is contained in:
parent
b6604de226
commit
2a7f7af87c
1 changed files with 3 additions and 1 deletions
|
@ -911,8 +911,10 @@ (define-public libgit2
|
|||
'()))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
,@(if (target-arm32?)
|
||||
,@(if (or (target-arm32?) (target-hurd?))
|
||||
;; Some tests are flaky on armhf.
|
||||
;; On GNU/Hurd, the 'diff/workdir' test in libgit2 1.7.1 fails
|
||||
;; while comparing st.st_size to zero.
|
||||
'((add-before 'check 'pre-check
|
||||
(lambda _
|
||||
(setenv "GITTEST_FLAKY_STAT" "true"))))
|
||||
|
|
Loading…
Reference in a new issue