[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22/67: gnu: libbsd: Skip failing test on the Hurd.
From: |
guix-commits |
Subject: |
22/67: gnu: libbsd: Skip failing test on the Hurd. |
Date: |
Tue, 18 Jul 2023 10:57:02 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit e9f4c981d2fcf1a0d81167a85d0d84dbfa24e29a
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")
- 24/67: gnu: libgpg-error: Skip failing test on the Hurd., (continued)
- 24/67: gnu: libgpg-error: Skip failing test on the Hurd., guix-commits, 2023/07/18
- 33/67: gnu: libpaper: Disable tests for the Hurd., guix-commits, 2023/07/18
- 31/67: gnu: e2fsprogs: Skip failing tests on the Hurd., guix-commits, 2023/07/18
- 37/67: gnu: tcsh: Skip substitution tests on the Hurd., guix-commits, 2023/07/18
- 61/67: gnu: guix: Update to 1.4.0-8.0a3070bbe9., guix-commits, 2023/07/18
- 45/67: gnu: glib: Disable tests for the Hurd., guix-commits, 2023/07/18
- 17/67: gnu: m4: Skip gnulib stack-overflow tests for the Hurd., guix-commits, 2023/07/18
- 01/67: gnu: commencement: Add autoconf-boot0., guix-commits, 2023/07/18
- 27/67: gnu: curl: Skip failing test on the Hurd., guix-commits, 2023/07/18
- 30/67: gnu: procps: Skip linux-version test for the Hurd., guix-commits, 2023/07/18
- 22/67: gnu: libbsd: Skip failing test on the Hurd.,
guix-commits <=
- 42/67: gnu: doxygen: Fix build for the Hurd., guix-commits, 2023/07/18
- 43/67: gnu: graphite2: Skip test on the Hurd., guix-commits, 2023/07/18
- 62/67: gnu: guix: Update to 1.4.0-9.b45f40d4fc., guix-commits, 2023/07/18
- 53/67: hurd-boot: Support system init: Create essential device nodes., guix-commits, 2023/07/18
- 35/67: gnu: openssl-1.1: Fix shared build for the Hurd., guix-commits, 2023/07/18
- 49/67: gnu: fontforge: Support build on the Hurd., guix-commits, 2023/07/18
- 60/67: gnu: guix: Disable some tests on the Hurd., guix-commits, 2023/07/18
- 55/67: system: hurd: Add swap-services to hurd-default-essential-services., guix-commits, 2023/07/18
- 48/67: gnu: pango: Support build 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