[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22/66: gnu: elfutils: Skip failing tests on the Hurd.
From: |
guix-commits |
Subject: |
22/66: gnu: elfutils: Skip failing tests on the Hurd. |
Date: |
Fri, 14 Jul 2023 17:56:39 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit eea01248e37b3b4f4d652f76530c0695b028207b
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Jun 6 16:11:03 2023 +0200
gnu: elfutils: Skip failing tests on the Hurd.
* gnu/packages/elf.scm (elfutils)[arguments]: When building natively on
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..a100038f14 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 (system-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))
- 60/66: gnu: guix: Update to 1.4.0-8.51376bc6f6., (continued)
- 60/66: gnu: guix: Update to 1.4.0-8.51376bc6f6., guix-commits, 2023/07/14
- 63/66: DRAFT hurd-boot: Support second boot., guix-commits, 2023/07/14
- 66/66: locale: Set %default-locale-definitions to glibc/hurd on the Hurd., guix-commits, 2023/07/14
- 65/66: gnu: Add libc-locales-for-target and glibc-locales/hurd., guix-commits, 2023/07/14
- 23/66: gnu: libbsd: Skip failing test on the Hurd., guix-commits, 2023/07/14
- 24/66: gnu: c-ares: Skip failing tests on the Hurd., guix-commits, 2023/07/14
- 33/66: gnu: parted: Disable tests for the Hurd., guix-commits, 2023/07/14
- 34/66: gnu: libpaper: Disable tests for the Hurd., guix-commits, 2023/07/14
- 19/66: gnu: openssl: Build fix for the Hurd., guix-commits, 2023/07/14
- 20/66: gnu: python: Support native build on the Hurd., guix-commits, 2023/07/14
- 22/66: gnu: elfutils: Skip failing tests on the Hurd.,
guix-commits <=
- 25/66: gnu: libgpg-error: Skip failing test on the Hurd., guix-commits, 2023/07/14
- 26/66: gnu: libgcrypt: Skip hanging benchmark tests on the Hurd., guix-commits, 2023/07/14
- 27/66: gnu: tcl: Remove failing tests on the Hurd.., guix-commits, 2023/07/14
- 29/66: gnu: git: Skip failing test on the Hurd., guix-commits, 2023/07/14
- 30/66: gnu: emacs: Depend on libc-for-target., guix-commits, 2023/07/14
- 40/66: gnu: zstd: Skip tests when building for the Hurd., guix-commits, 2023/07/14
- 41/66: gnu: cmake-bootstrap: Fix build for the Hurd., guix-commits, 2023/07/14
- 42/66: gnu: cmake-minimal: Skip tests on the Hurd., guix-commits, 2023/07/14
- 45/66: gnu: guile-git: Skip http proxy test on the Hurd., guix-commits, 2023/07/14
- 53/66: system: hurd: Add procps to %base-packages/hurd., guix-commits, 2023/07/14