diff options
author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2023-06-06 16:11:03 +0200 |
---|---|---|
committer | Janneke Nieuwenhuizen <janneke@gnu.org> | 2023-07-20 10:11:33 +0200 |
commit | 8b74e7d52107d6ec9813b446b041838bd111c648 (patch) | |
tree | 10158f1a7c52f0b9800c39c6a2bd9e0f04a31cbe /gnu/packages/elf.scm | |
parent | eb89957ba4c05db8c97ec7a12b51c29a49290ec5 (diff) | |
download | guix-8b74e7d52107d6ec9813b446b041838bd111c648.tar.gz |
gnu: elfutils: Skip failing tests on the Hurd.
* gnu/packages/elf.scm (elfutils)[arguments]: When building natively on the Hurd, add phase 'skip-tests'.
Diffstat (limited to 'gnu/packages/elf.scm')
-rw-r--r-- | gnu/packages/elf.scm | 23 |
1 files changed, 23 insertions, 0 deletions
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)) |