[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22/65: gnu: libbsd: Skip failing test on the Hurd.
From: |
guix-commits |
Subject: |
22/65: gnu: libbsd: Skip failing test on the Hurd. |
Date: |
Fri, 14 Jul 2023 10:06:01 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit b304565b56ec9133d5853149adf0cdda8c6838b8
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")
- 01/65: gnu: commencement: Add autoconf-boot0., (continued)
- 01/65: gnu: commencement: Add autoconf-boot0., guix-commits, 2023/07/14
- 05/65: gnu: commencement: hurd-headers-boot0: Update to 0.9.git20230216., guix-commits, 2023/07/14
- 07/65: Revert "gnu: libunistring: Fix make check for the Hurd.", guix-commits, 2023/07/14
- 10/65: gnu: grep: Update hanging and failing tests on the Hurd., guix-commits, 2023/07/14
- 11/65: Revert "gnu: sed: Skip failing test on GNU/Hurd.", guix-commits, 2023/07/14
- 15/65: gnu: m4: Skip gnulib stack-overflow tests for the Hurd., guix-commits, 2023/07/14
- 16/65: hurd: Support system init in /libexec/runsystem., guix-commits, 2023/07/14
- 19/65: gnu: python: Support native build on the Hurd., guix-commits, 2023/07/14
- 26/65: gnu: tcl: Remove failing tests on the Hurd.., guix-commits, 2023/07/14
- 18/65: gnu: openssl: Build fix for the Hurd., guix-commits, 2023/07/14
- 22/65: gnu: libbsd: Skip failing test on the Hurd.,
guix-commits <=
- 49/65: gnu: fontforge: Support build on the Hurd., guix-commits, 2023/07/14
- 09/65: gnu: coreutils: Skip hanging and failing test on the Hurd., guix-commits, 2023/07/14
- 12/65: gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hurd., guix-commits, 2023/07/14
- 17/65: hurd-boot: Support system init: Create essential device nodes., guix-commits, 2023/07/14
- 02/65: gnu: commencement: Add automake-boot0., guix-commits, 2023/07/14
- 08/65: gnu: guile: Skip hanging and failing pipe tests on the Hurd., guix-commits, 2023/07/14
- 28/65: gnu: git: Skip failing test on the Hurd., guix-commits, 2023/07/14
- 06/65: gnu: commencement: hurd-minimal-boot0: Update to 0.9.git20230216., guix-commits, 2023/07/14
- 14/65: gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd., guix-commits, 2023/07/14
- 20/65: gnu: mpfr: Skip failing test on the Hurd., guix-commits, 2023/07/14