mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 20:19:18 -05:00
gnu: libbsd: Skip failing test on the Hurd.
* gnu/packages/libbsd.scm (libbsd)[arguments]: When building natively on the Hurd, add stage 'skip-tests'.
This commit is contained in:
parent
8b74e7d521
commit
ee870c6abc
1 changed files with 11 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
|
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
|
||||||
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
|
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
|
||||||
|
;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -23,6 +24,7 @@ (define-module (gnu packages libbsd)
|
||||||
#:use-module (guix licenses)
|
#:use-module (guix licenses)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix gexp)
|
#:use-module (guix gexp)
|
||||||
|
#:use-module (guix utils)
|
||||||
#:use-module (gnu packages crypto))
|
#:use-module (gnu packages crypto))
|
||||||
|
|
||||||
(define-public libbsd
|
(define-public libbsd
|
||||||
|
@ -64,7 +66,15 @@ (define-public libbsd
|
||||||
;; build container.
|
;; build container.
|
||||||
(substitute* "test/Makefile"
|
(substitute* "test/Makefile"
|
||||||
(("pwcache\\$\\(EXEEXT\\) ")
|
(("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
|
(inputs
|
||||||
(list libmd))
|
(list libmd))
|
||||||
(synopsis "Utility functions from BSD systems")
|
(synopsis "Utility functions from BSD systems")
|
||||||
|
|
Loading…
Reference in a new issue