me
/
guix
Archived
1
0
Fork 0

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
Efraim Flashner 2023-06-13 09:16:46 +03:00
parent 0b2d33af03
commit 63f8af77ec
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 6 additions and 0 deletions

View File

@ -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)