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.master
parent
0b2d33af03
commit
63f8af77ec
|
@ -846,6 +846,12 @@ to GitHub contributions calendar.")
|
|||
'()))
|
||||
#: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)
|
||||
|
|
Reference in New Issue