[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
51/92: gnu: libbsd: Skip failing test on the Hurd.
From: |
guix-commits |
Subject: |
51/92: gnu: libbsd: Skip failing test on the Hurd. |
Date: |
Fri, 23 Jun 2023 12:45:43 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 5fd7f591d250d8ca137eeb9f1353208123446c53
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")
- 20/92: hurd-boot: Setup pci-arbiter and rumpdisk translators., (continued)
- 20/92: hurd-boot: Setup pci-arbiter and rumpdisk translators., guix-commits, 2023/06/23
- 23/92: bootloader: grub: Use rumpdisk-style root when booting with "noide"., guix-commits, 2023/06/23
- 25/92: gnu: netdde: Resurrect and update to 2.6.32.65-2-e67c284ac1., guix-commits, 2023/06/23
- 26/92: hurd-boot: Cater for netdde., guix-commits, 2023/06/23
- 28/92: services: static-networking: Support netdde for the Hurd., guix-commits, 2023/06/23
- 31/92: gnu: commencement: Add automake-boot0., guix-commits, 2023/06/23
- 32/92: gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20221224., guix-commits, 2023/06/23
- 33/92: gnu: commencement: mig-boot0: Update to 1.8+git20230520., guix-commits, 2023/06/23
- 35/92: gnu: commencement: hurd-minimal-boot0: Update to 0.9.git20230216., guix-commits, 2023/06/23
- 50/92: gnu: elfutils: Skip failing tests on the Hurd., guix-commits, 2023/06/23
- 51/92: gnu: libbsd: Skip failing test on the Hurd.,
guix-commits <=
- 29/92: gnu: gnumach: Disable builtin networking., guix-commits, 2023/06/23
- 30/92: gnu: commencement: Add autoconf-boot0., guix-commits, 2023/06/23
- 34/92: gnu: commencement: hurd-headers-boot0: Update to 0.9.git20230216., guix-commits, 2023/06/23
- 22/92: system: hurd: Boot with pci.arbiter and rumpdisk., guix-commits, 2023/06/23
- 27/92: system: hurd: Add netdde to %base-packages/hurd., guix-commits, 2023/06/23
- 36/92: Revert "gnu: libunistring: Fix make check for the Hurd.", guix-commits, 2023/06/23
- 37/92: gnu: guile: Skip hanging and failing pipe tests on the Hurd., guix-commits, 2023/06/23
- 38/92: gnu: coreutils: Skip hanging and failing test on the Hurd., guix-commits, 2023/06/23
- 39/92: gnu: grep: Update hanging and failing tests on the Hurd., guix-commits, 2023/06/23
- 40/92: Revert "gnu: sed: Skip failing test on GNU/Hurd.", guix-commits, 2023/06/23