me
/
guix
Archived
1
0
Fork 0

gnu: libbsd: Skip failing test on the Hurd.

* gnu/packages/libbsd.scm (libbsd)[arguments]: When building natively on the
Hurd, add stage 'skip-tests'.
Janneke Nieuwenhuizen 2023-06-06 16:53:09 +02:00
parent 8b74e7d521
commit ee870c6abc
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 11 additions and 1 deletions

View File

@ -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")