[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/65: gnu: elfutils: Skip failing tests on the Hurd.
From: |
guix-commits |
Subject: |
21/65: gnu: elfutils: Skip failing tests on the Hurd. |
Date: |
Fri, 14 Jul 2023 10:06:00 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit daaede87abec706288b3fc660392f7bbb609c6e2
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))
- 25/65: gnu: libgcrypt: Skip hanging benchmark tests on the Hurd., (continued)
- 25/65: gnu: libgcrypt: Skip hanging benchmark tests on the Hurd., guix-commits, 2023/07/14
- 34/65: gnu: cairo: Support building for the Hurd., guix-commits, 2023/07/14
- 35/65: gnu: openssl-1.1: Fix shared build for the Hurd., guix-commits, 2023/07/14
- 36/65: gnu: ruby-2.6: Skip test on the Hurd., guix-commits, 2023/07/14
- 39/65: gnu: zstd: Skip tests when building for the Hurd., guix-commits, 2023/07/14
- 42/65: gnu: doxygen: Fix build for the Hurd., guix-commits, 2023/07/14
- 51/65: gnu: guile-2.0: Skip failing tests on the Hurd., guix-commits, 2023/07/14
- 55/65: build: Build gnu/packages/*.go in five steps., guix-commits, 2023/07/14
- 60/65: gnu: guix: Update to 1.4.0-9.5165f041af., guix-commits, 2023/07/14
- 64/65: gnu: Add libc-locales-for-target and glibc-locales/hurd., guix-commits, 2023/07/14
- 21/65: gnu: elfutils: Skip failing tests on the Hurd.,
guix-commits <=
- 30/65: gnu: procps: Skip linux-version test for the Hurd., guix-commits, 2023/07/14
- 38/65: gnu: swig: Skip tests when building for the Hurd., guix-commits, 2023/07/14
- 41/65: gnu: cmake-minimal: Skip tests on the Hurd., guix-commits, 2023/07/14
- 44/65: gnu: guile-git: Skip http proxy test on the Hurd., guix-commits, 2023/07/14
- 45/65: gnu: glib: Disable tests for the Hurd., guix-commits, 2023/07/14
- 43/65: gnu: graphite2: Skip test on the Hurd., guix-commits, 2023/07/14
- 54/65: gnu: hurd: Support native build on the Hurd., guix-commits, 2023/07/14
- 47/65: gnu: harfbuzz: Support build for the Hurd., guix-commits, 2023/07/14
- 56/65: self: Build gnu/packages/*.go in 26 steps on the Hurd., guix-commits, 2023/07/14
- 29/65: gnu: emacs: Depend on libc-for-target., guix-commits, 2023/07/14