[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#64711] [PATCH 22/43] gnu: procps: Skip linux-version test for the H
From: |
Janneke Nieuwenhuizen |
Subject: |
[bug#64711] [PATCH 22/43] gnu: procps: Skip linux-version test for the Hurd. |
Date: |
Tue, 18 Jul 2023 16:40:15 +0200 |
* gnu/packages/linux.scm (procps)[arguments]: When building natively on the
Hurd, add stage 'skip-tests'.
---
gnu/packages/linux.scm | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 39503de6ff..190c28cb60 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -42,7 +42,7 @@
;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2020 Chris Marusich <cmmarusich@gmail.com>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
-;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2020, 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2020 Morgan Smith <Morgan.J.Smith@outlook.com>
;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
;;; Copyright © 2020, 2022 Michael Rohleder <mike@rohleder.de>
@@ -2390,7 +2390,14 @@ (define-public procps
(let* ((out #$output)
(dup (append-map (cut find-files out <>)
'("^kill" "^uptime"))))
- (for-each delete-file dup)))))))
+ (for-each delete-file dup))))
+ #$@(if (system-hurd?)
+ #~((add-after 'unpack 'skip-tests
+ (lambda _
+ (substitute* "library/tests/test_version.c"
+ (("^int main\\(.*" all)
+ (string-append all "{\n exit (77);//"))))))
+ #~()))))
(inputs (list ncurses))
(native-inputs (list pkg-config))
(home-page "https://gitlab.com/procps-ng/procps/")
--
2.40.1
- [bug#64711] [PATCH 08/43] gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd., (continued)
- [bug#64711] [PATCH 08/43] gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 10/43] gnu: openssl: Build fix for the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 12/43] gnu: mpfr: Skip failing test on the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 17/43] gnu: libgcrypt: Skip hanging benchmark tests on the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 20/43] gnu: git: Skip failing test on the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 18/43] gnu: tcl: Remove failing tests on the Hurd.., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 19/43] gnu: curl: Skip failing test on the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 22/43] gnu: procps: Skip linux-version test for the Hurd.,
Janneke Nieuwenhuizen <=
- [bug#64711] [PATCH 16/43] gnu: libgpg-error: Skip failing test on the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 24/43] gnu: parted: Disable tests for the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 11/43] gnu: python: Support native build on the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 21/43] gnu: emacs: Depend on libc-for-target., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 27/43] gnu: openssl-1.1: Fix shared build for the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 23/43] gnu: e2fsprogs: Skip failing tests on the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 25/43] gnu: libpaper: Disable tests for the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 26/43] gnu: cairo: Support building for the Hurd., Janneke Nieuwenhuizen, 2023/07/18