[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: gnu: libgit2: Skip some tests on armhf-linux.
From: |
guix-commits |
Subject: |
02/03: gnu: libgit2: Skip some tests on armhf-linux. |
Date: |
Tue, 13 Jun 2023 02:47:43 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 63f8af77ec7be5434290f443140e5c00832940e3
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jun 13 09:16:46 2023 +0300
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.
---
gnu/packages/version-control.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 9a27b8f1e9..1dd3eaaa82 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -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)