[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/58: gnu: elfutils: Skip failing tests on the Hurd.
From: |
guix-commits |
Subject: |
13/58: gnu: elfutils: Skip failing tests on the Hurd. |
Date: |
Wed, 19 Jul 2023 03:00:46 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 1f4d617bec84b25c4f145a1a29f8e41e976465e3
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))
- 29/58: gnu: zstd: Skip tests when building for the Hurd., (continued)
- 29/58: gnu: zstd: Skip tests when building for the Hurd., guix-commits, 2023/07/19
- 33/58: gnu: graphite2: Skip test on the Hurd., guix-commits, 2023/07/19
- 49/58: system: hurd: Add swap-services to hurd-default-essential-services., guix-commits, 2023/07/19
- 45/58: gnu: guix: Disable some tests on the Hurd., guix-commits, 2023/07/19
- 53/58: gnu: guix: Update to 1.4.0-9.2a8bf3da1e., guix-commits, 2023/07/19
- 38/58: gnu: fontforge: Support build on the Hurd., guix-commits, 2023/07/19
- 51/58: self: Build gnu/packages/*.go in 26 steps on the Hurd., guix-commits, 2023/07/19
- 57/58: gnu: Add libc-locales-for-target and glibc-locales/hurd., guix-commits, 2023/07/19
- 54/58: DRAFT hurd: Support second boot., guix-commits, 2023/07/19
- 09/58: gnu: m4: Skip gnulib stack-overflow tests for the Hurd., guix-commits, 2023/07/19
- 13/58: gnu: elfutils: Skip failing tests on the Hurd.,
guix-commits <=
- 14/58: gnu: libbsd: Skip failing test on the Hurd., guix-commits, 2023/07/19
- 16/58: gnu: libgpg-error: Skip failing test on the Hurd., guix-commits, 2023/07/19
- 18/58: gnu: tcl: Remove failing tests on the Hurd.., guix-commits, 2023/07/19
- 30/58: gnu: cmake-bootstrap: Fix build for the Hurd., guix-commits, 2023/07/19
- 40/58: gnu: guile-2.0: Skip failing tests on the Hurd., guix-commits, 2023/07/19
- 52/58: gnu: guix: Update to 1.4.0-8.c0b1d7aac7., guix-commits, 2023/07/19