[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/21: gnu: dejagnu: Fix test failure.
From: |
guix-commits |
Subject: |
01/21: gnu: dejagnu: Fix test failure. |
Date: |
Thu, 30 Jun 2022 17:27:34 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 0ef3e954def16c64f68383b6200e565aacf5b579
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Jun 30 18:52:27 2022 +0200
gnu: dejagnu: Fix test failure.
This is a follow-up to commit 0b65cb03b3ce04e0f0f1ad9e2eb7bfeff7f42b8e.
* gnu/packages/dejagnu.scm (dejagnu)[inputs]: Add BASH-MINIMAL.
[arguments]: Add phase to patch /bin/sh references.
---
gnu/packages/dejagnu.scm | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/dejagnu.scm b/gnu/packages/dejagnu.scm
index b97df79f4d..59f8bd41c2 100644
--- a/gnu/packages/dejagnu.scm
+++ b/gnu/packages/dejagnu.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016, 2017, 2022 Efraim Flashner <efraim@flasher.co.il>
;;; Copyright © 2018 Mark H Weaver <mhw@netris.org>
+;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -23,6 +24,7 @@
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (guix licenses)
+ #:use-module (gnu packages bash)
#:use-module (gnu packages tcl))
(define-public dejagnu
@@ -38,10 +40,19 @@
(base32
"1qx2cv6qkxbiqg87jh217jb62hk3s7dmcs4cz1llm2wmsynfznl7"))))
(build-system gnu-build-system)
- (inputs (list expect))
+ (inputs (list bash-minimal expect))
(arguments
'(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'patch-/bin/sh
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Patch embedded /bin/sh references.
+ (let ((/bin/sh (search-input-file inputs "/bin/sh")))
+ (substitute* "dejagnu"
+ (("exec /bin/sh")
+ (string-append "exec " /bin/sh)))
+ (substitute* (find-files "testsuite/report-card.all")
+ (("/bin/sh") /bin/sh)))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
;; Note: The test-suite *requires* /dev/pts among the
- branch core-updates updated (4bc6888f5e -> 2a023a7bd8), guix-commits, 2022/06/30
- 02/21: gnu: dejagnu: Use G-expressions., guix-commits, 2022/06/30
- 04/21: gnu: libgc: Use new style., guix-commits, 2022/06/30
- 06/21: gnu: zlib: Use G-expression., guix-commits, 2022/06/30
- 03/21: gnu: jsoncpp@1.7.3: Fix build failure., guix-commits, 2022/06/30
- 07/21: gnu: help2man: Update to 1.49.2., guix-commits, 2022/06/30
- 16/21: gnu: OpenBLAS: Use G-expressions., guix-commits, 2022/06/30
- 01/21: gnu: dejagnu: Fix test failure.,
guix-commits <=
- 08/21: gnu: help2man: Remove input labels., guix-commits, 2022/06/30
- 09/21: gnu: icu4c: Remove input labels., guix-commits, 2022/06/30
- 12/21: gnu: pcre: Use G-expression., guix-commits, 2022/06/30
- 14/21: gnu: tcsh: Use G-expression., guix-commits, 2022/06/30
- 17/21: gnu: libaio: Update to 0.3.113., guix-commits, 2022/06/30
- 20/21: gnu: yelp-xsl: Remove obsolete input., guix-commits, 2022/06/30
- 21/21: gnu: yelp-xsl: Remove input labels., guix-commits, 2022/06/30
- 15/21: gnu: Boost: Use G-expressions., guix-commits, 2022/06/30
- 18/21: gnu: itstool: Update to 2.0.7., guix-commits, 2022/06/30
- 10/21: gnu: pcre2: Update to 10.40., guix-commits, 2022/06/30