[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
51/85: gnu: libbsd: Skip failing test for the Hurd.
From: |
guix-commits |
Subject: |
51/85: gnu: libbsd: Skip failing test for the Hurd. |
Date: |
Thu, 15 Jun 2023 02:32:42 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 690f5bd9b4d80d7e6d4f1844eb322e87765f6189
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Jun 6 16:53:09 2023 +0200
gnu: libbsd: Skip failing test for the Hurd.
* gnu/packages/libbsd.scm (libbsd)[arguments]: When building for 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..ae5302e639 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 (target-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")
- 48/85: gnu: python: Support native build on the Hurd., (continued)
- 48/85: gnu: python: Support native build on the Hurd., guix-commits, 2023/06/15
- 81/85: system: hurd: Add procps to %base-packages/hurd., guix-commits, 2023/06/15
- 45/85: hurd: Support system init in /libexec/runsystem., guix-commits, 2023/06/15
- 03/85: gnu: gnumach-headers: Cross-build without relying on x86., guix-commits, 2023/06/15
- 04/85: gnu: hurd: Update supported systems., guix-commits, 2023/06/15
- 05/85: gnu: Add libc-for-target and glibc/hurd., guix-commits, 2023/06/15
- 20/85: hurd-boot: Setup pci-arbiter and rumpdisk translators., guix-commits, 2023/06/15
- 75/85: gnu: ghostscript: Fix build for the Hurd., guix-commits, 2023/06/15
- 39/85: gnu: grep: Update hanging and failing tests for the Hurd., guix-commits, 2023/06/15
- 50/85: gnu: elfutils: Skip failing tests for the Hurd., guix-commits, 2023/06/15
- 51/85: gnu: libbsd: Skip failing test for the Hurd.,
guix-commits <=
- 82/85: system: hurd: Add swap-services to hurd-default-essential-services., guix-commits, 2023/06/15
- 78/85: gnu: fontforge: Support build for the Hurd., guix-commits, 2023/06/15
- 84/85: DRAFT hurd-boot: Support second boot., guix-commits, 2023/06/15
- 49/85: gnu: mpfr: Skip failing test for the Hurd., guix-commits, 2023/06/15