[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
24/67: gnu: libbsd: Skip failing test on the Hurd.
From: |
guix-commits |
Subject: |
24/67: gnu: libbsd: Skip failing test on the Hurd. |
Date: |
Tue, 18 Jul 2023 10:16:04 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 8123cc7d5d3d2ebdc2bc8b07918798f895035008
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Jun 6 16:53:09 2023 +0200
gnu: libbsd: Skip failing test on the Hurd.
* gnu/packages/libbsd.scm (libbsd)[arguments]: When building natively on the
Hurd, add stage 'skip-tests'.
---
gnu/packages/libbsd.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/libbsd.scm b/gnu/packages/libbsd.scm
index 79f1389081..46a11a61e2 100644
--- a/gnu/packages/libbsd.scm
+++ b/gnu/packages/libbsd.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -23,6 +24,7 @@
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix gexp)
+ #:use-module (guix utils)
#:use-module (gnu packages crypto))
(define-public libbsd
@@ -64,7 +66,15 @@
;; build container.
(substitute* "test/Makefile"
(("pwcache\\$\\(EXEEXT\\) ")
- "")))))))
+ ""))))
+ #$@(if (system-hurd?)
+ #~((add-after 'unpack 'skip-tests
+ (lambda _
+ (substitute* "test/explicit_bzero.c"
+ (("(^| )main *\\(.*" all)
+ (string-append all
+ "{\n exit (77);//"))))))
+ #~()))))
(inputs
(list libmd))
(synopsis "Utility functions from BSD systems")
- 40/67: gnu: swig: Skip tests when building for the Hurd., (continued)
- 40/67: gnu: swig: Skip tests when building for the Hurd., guix-commits, 2023/07/18
- 33/67: gnu: e2fsprogs: Skip failing tests on the Hurd., guix-commits, 2023/07/18
- 15/67: gnu: diffutils: Remove test-perror2 from XFAIL_TESTS on the Hurd., guix-commits, 2023/07/18
- 13/67: Revert "gnu: sed: Skip failing test on GNU/Hurd.", guix-commits, 2023/07/18
- 07/67: gnu: commencement: hurd-minimal-boot0: Update to 0.9.git20230216., guix-commits, 2023/07/18
- 17/67: gnu: m4: Skip gnulib stack-overflow tests for the Hurd., guix-commits, 2023/07/18
- 19/67: hurd-boot: Support system init: Create essential device nodes., guix-commits, 2023/07/18
- 21/67: gnu: python: Support native build on the Hurd., guix-commits, 2023/07/18
- 22/67: gnu: mpfr: Skip failing test on the Hurd., guix-commits, 2023/07/18
- 28/67: gnu: tcl: Remove failing tests on the Hurd.., guix-commits, 2023/07/18
- 24/67: gnu: libbsd: Skip failing test on the Hurd.,
guix-commits <=
- 30/67: gnu: git: Skip failing test on the Hurd., guix-commits, 2023/07/18
- 31/67: gnu: emacs: Depend on libc-for-target., guix-commits, 2023/07/18
- 26/67: gnu: libgpg-error: Skip failing test on the Hurd., guix-commits, 2023/07/18
- 06/67: gnu: commencement: hurd-headers-boot0: Update to 0.9.git20230216., guix-commits, 2023/07/18
- 53/67: gnu: guile-2.0: Skip failing tests on the Hurd., guix-commits, 2023/07/18
- 44/67: gnu: doxygen: Fix build for the Hurd., guix-commits, 2023/07/18
- 35/67: gnu: libpaper: Disable tests for the Hurd., guix-commits, 2023/07/18
- 51/67: gnu: fontforge: Support build on the Hurd., guix-commits, 2023/07/18
- 42/67: gnu: cmake-bootstrap: Fix build for the Hurd., guix-commits, 2023/07/18
- 46/67: gnu: guile-git: Skip http proxy test on the Hurd., guix-commits, 2023/07/18