[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
50/85: gnu: elfutils: Skip failing tests for the Hurd.
From: |
guix-commits |
Subject: |
50/85: gnu: elfutils: Skip failing tests 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 a3cec17d8fa9b07b724e62c8485aaf543cec5134
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Jun 6 16:11:03 2023 +0200
gnu: elfutils: Skip failing tests for the Hurd.
* gnu/packages/elf.scm (elfutils)[arguments]: When building for the Hurd,
add phase 'skip-tests'.
---
gnu/packages/elf.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/elf.scm b/gnu/packages/elf.scm
index d188099812..59eebab390 100644
--- a/gnu/packages/elf.scm
+++ b/gnu/packages/elf.scm
@@ -10,6 +10,7 @@
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2021 Leo Le Bouter <lle-bout@zaclys.net>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
+;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -112,6 +113,28 @@
(("run-reverse-sections-self.sh") "")
(("run-strip-strmerge.sh") "")
(("run-elflint-self.sh") "")))))
+ '())
+ ,@(if (target-hurd?)
+ `((add-after 'unpack 'skip-tests
+ (lambda _
+ (substitute* '("tests/elfstrtab.c"
+ "tests/emptyfile.c")
+ (("elf_version \\(EV_CURRENT\\);" all)
+ "exit (77);"))
+ (substitute* '("tests/run-all-dwarf-ranges.sh"
+ "tests/run-allfcts-multi.sh"
+ "tests/run-attr-integrate-skel.sh"
+ "tests/run-bug1-test.sh"
+ "tests/run-copyadd-sections.sh"
+ "tests/run-deleted.sh"
+ "tests/run-get-units-split.sh"
+ "tests/run-native-test.sh"
+ "tests/run-readelf-loc.sh"
+ "tests/run-readelf-ranges.sh"
+ "tests/run-unit-info.sh"
+ "tests/run-varlocs.sh")
+ (("^#!.*" all)
+ (string-append all "exit 77;\n"))))))
'()))))
(native-inputs (list m4))
- 32/85: gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20221224., (continued)
- 32/85: gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20221224., guix-commits, 2023/06/15
- 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 <=
- 51/85: gnu: libbsd: Skip failing test for the Hurd., guix-commits, 2023/06/15
- 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