[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/58: gnu: procps: Skip linux-version test for the Hurd.
From: |
guix-commits |
Subject: |
21/58: gnu: procps: Skip linux-version test for the Hurd. |
Date: |
Wed, 19 Jul 2023 03:00:47 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit adfd4eeafa4d2e5c6362212f853a641299fce4b0
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Fri Jun 9 07:17:48 2023 +0200
gnu: procps: Skip linux-version test for the Hurd.
* 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 @@ parameters.")
(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/")
- branch hurd-team created (now cafc3b8db8), guix-commits, 2023/07/19
- 07/58: gnu: diffutils: Remove test-perror2 from XFAIL_TESTS on the Hurd., guix-commits, 2023/07/19
- 08/58: gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd., guix-commits, 2023/07/19
- 10/58: gnu: openssl: Build fix for the Hurd., guix-commits, 2023/07/19
- 21/58: gnu: procps: Skip linux-version test for the Hurd.,
guix-commits <=
- 05/58: Revert "gnu: sed: Skip failing test on GNU/Hurd.", guix-commits, 2023/07/19
- 03/58: gnu: coreutils: Skip hanging and failing test on the Hurd., guix-commits, 2023/07/19
- 28/58: gnu: swig: Skip tests when building for the Hurd., guix-commits, 2023/07/19
- 15/58: gnu: c-ares: Skip failing tests on the Hurd., guix-commits, 2023/07/19
- 19/58: gnu: curl: Skip failing test on the Hurd., guix-commits, 2023/07/19
- 01/58: Revert "gnu: libunistring: Fix make check for the Hurd.", guix-commits, 2023/07/19
- 12/58: gnu: mpfr: Skip failing test on the Hurd., guix-commits, 2023/07/19
- 22/58: gnu: e2fsprogs: Skip failing tests on the Hurd., guix-commits, 2023/07/19
- 23/58: gnu: parted: Disable tests for the Hurd., guix-commits, 2023/07/19
- 24/58: gnu: libpaper: Disable tests for the Hurd., guix-commits, 2023/07/19