janneke pushed a commit to branch wip-hurd
in repository guix.
commit 12d985449e9c4fd2b2ce125cac2bc43c0962fa82
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Thu Jun 8 07:15:07 2023 +0200
gnu: git: Skip failing test for the Hurd.
* gnu/packages/version-control.scm (git)[arguments]: When building for the
Hurd, add stage 'hurd-delete-tests'.
---
gnu/packages/version-control.scm | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 1db0931ac3..ab73e6bb7a 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -28,7 +28,7 @@
;;; Copyright © 2020 Roel Janssen <[email protected]>
;;; Copyright © 2020, 2021 Brice Waegeneire <[email protected]>
;;; Copyright © 2020 John D. Boy <[email protected]>
-;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <[email protected]>
+;;; Copyright © 2020, 2023 Janneke Nieuwenhuizen <[email protected]>
;;; Copyright © 2020, 2021, 2022, 2023 Vinicius Monego <[email protected]>
;;; Copyright © 2020 Tanguy Le Carrour <[email protected]>
;;; Copyright © 2020, 2021, 2022 Michael Rohleder <[email protected]>
@@ -571,7 +571,14 @@ Python 3.3 and later, rather than on Python 2.")
(manpages (assoc-ref inputs "git-manpages")))
(mkdir-p man)
(with-directory-excursion man
- (invoke "tar" "xvf" manpages))))))))
+ (invoke "tar" "xvf" manpages)))))
+ ,@(if (target-hurd?)
+ '((add-after 'unpack 'hurd-delete-tests
+ (lambda _
+ (delete-file "t/t0052-simple-ipc.sh")
+ (delete-file "t/t5562-http-backend-content-length.sh")
+ (delete-file "t/t9902-completion.sh"))))
+ '()))))
(native-search-paths
;; For HTTPS access, Git needs a single-file certificate bundle, specified