[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/43: gnu: elfutils: Skip failing tests on the Hurd.
From: |
guix-commits |
Subject: |
13/43: gnu: elfutils: Skip failing tests on the Hurd. |
Date: |
Thu, 20 Jul 2023 04:22:27 -0400 (EDT) |
janneke pushed a commit to branch master
in repository guix.
commit 8b74e7d52107d6ec9813b446b041838bd111c648
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))
- 08/43: gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd., (continued)
- 08/43: gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd., guix-commits, 2023/07/20
- 10/43: gnu: openssl: Build fix for the Hurd., guix-commits, 2023/07/20
- 09/43: gnu: m4: Skip gnulib stack-overflow tests for the Hurd., guix-commits, 2023/07/20
- 11/43: gnu: python: Support native build on the Hurd., guix-commits, 2023/07/20
- 17/43: gnu: libgcrypt: Skip hanging benchmark tests on the Hurd., guix-commits, 2023/07/20
- 20/43: gnu: git: Skip failing test on the Hurd., guix-commits, 2023/07/20
- 02/43: gnu: guile: Skip hanging and failing pipe tests on the Hurd., guix-commits, 2023/07/20
- 06/43: gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hurd., guix-commits, 2023/07/20
- 07/43: gnu: diffutils: Remove test-perror2 from XFAIL_TESTS on the Hurd., guix-commits, 2023/07/20
- 12/43: gnu: mpfr: Skip failing test on the Hurd., guix-commits, 2023/07/20
- 13/43: gnu: elfutils: Skip failing tests on the Hurd.,
guix-commits <=
- 14/43: gnu: libbsd: Skip failing test on the Hurd., guix-commits, 2023/07/20
- 18/43: gnu: tcl: Remove failing tests on the Hurd.., guix-commits, 2023/07/20
- 21/43: gnu: procps: Skip linux-version test for the Hurd., guix-commits, 2023/07/20
- 22/43: gnu: e2fsprogs: Skip failing tests on the Hurd., guix-commits, 2023/07/20
- 23/43: gnu: parted: Disable tests for the Hurd., guix-commits, 2023/07/20
- 24/43: gnu: libpaper: Disable tests for the Hurd., guix-commits, 2023/07/20
- 25/43: gnu: cairo: Support building for the Hurd., guix-commits, 2023/07/20
- 26/43: gnu: openssl-1.1: Fix shared build for the Hurd., guix-commits, 2023/07/20
- 27/43: gnu: ruby-2.6: Skip test on the Hurd., guix-commits, 2023/07/20
- 28/43: gnu: tcsh: Skip substitution tests on the Hurd., guix-commits, 2023/07/20