mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: libgit2: Skip some tests on armhf-linux.
* gnu/packages/version-control.scm (libgit2)[arguments]: When building for armhf-linux add a phase to skip some tests.
This commit is contained in:
parent
0b2d33af03
commit
63f8af77ec
1 changed files with 6 additions and 0 deletions
|
@ -846,6 +846,12 @@ (define-public libgit2
|
|||
'()))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
,@(if (target-arm32?)
|
||||
;; Some tests are flaky on armhf.
|
||||
'((add-before 'check 'pre-check
|
||||
(lambda _
|
||||
(setenv "GITTEST_FLAKY_STAT" "true"))))
|
||||
'())
|
||||
;; Run checks more verbosely, unless we are cross-compiling.
|
||||
(replace 'check
|
||||
(lambda* (#:key (tests? #t) #:allow-other-keys)
|
||||
|
|
Loading…
Reference in a new issue