[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 09:27:16 -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")
- 56/67: gnu: hurd: Support native build on the Hurd., (continued)
- 56/67: gnu: hurd: Support native build on the Hurd., guix-commits, 2023/07/18
- 62/67: gnu: guix: Update to 1.4.0-9.0082101981., guix-commits, 2023/07/18
- 65/67: DRAFT system: examples: Add devel-hurd.tmpl., guix-commits, 2023/07/18
- 09/67: Revert "gnu: libunistring: Fix make check for the Hurd.", guix-commits, 2023/07/18
- 21/67: gnu: python: Support native build on the Hurd., guix-commits, 2023/07/18
- 34/67: gnu: parted: Disable tests for the Hurd., guix-commits, 2023/07/18
- 66/67: gnu: Add libc-locales-for-target and glibc-locales/hurd., guix-commits, 2023/07/18
- 04/67: gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20221224., guix-commits, 2023/07/18
- 28/67: gnu: tcl: Remove failing tests on the Hurd.., guix-commits, 2023/07/18
- 29/67: gnu: curl: Skip failing test on the Hurd., guix-commits, 2023/07/18
- 24/67: gnu: libbsd: Skip failing test on the Hurd.,
guix-commits <=
- 55/67: system: hurd: Add swap-services to hurd-default-essential-services., guix-commits, 2023/07/18
- 30/67: gnu: git: Skip failing test on the Hurd., guix-commits, 2023/07/18
- 33/67: gnu: e2fsprogs: Skip failing tests on the Hurd., guix-commits, 2023/07/18
- 45/67: gnu: graphite2: Skip test on the Hurd., guix-commits, 2023/07/18
- 48/67: gnu: ghostscript: Fix build for the Hurd., guix-commits, 2023/07/18
- 39/67: gnu: tcsh: Skip substitution tests on the Hurd., guix-commits, 2023/07/18
- 47/67: gnu: glib: Disable tests for the Hurd., guix-commits, 2023/07/18
- 67/67: locale: Set %default-locale-definitions to glibc/hurd on the Hurd., guix-commits, 2023/07/18
- 05/67: gnu: commencement: mig-boot0: Update to 1.8+git20230520., guix-commits, 2023/07/18
- 11/67: gnu: coreutils: Skip hanging and failing test on the Hurd., guix-commits, 2023/07/18