[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
59/89: gnu: procps: Skip linux-version test for the Hurd.
From: |
guix-commits |
Subject: |
59/89: gnu: procps: Skip linux-version test for the Hurd. |
Date: |
Tue, 20 Jun 2023 05:58:59 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit b6934889c08dcf6f12decc539013d5d6f7894bf4
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 52fb883467..8ad18ccd39 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>
@@ -2356,7 +2356,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/")
- 44/89: gnu: m4: Skip gnulib stack-overflow tests for the Hurd., (continued)
- 44/89: gnu: m4: Skip gnulib stack-overflow tests for the Hurd., guix-commits, 2023/06/20
- 62/89: gnu: libpaper: Disable tests for the Hurd., guix-commits, 2023/06/20
- 56/89: gnu: curl: Skip failing test on the Hurd., guix-commits, 2023/06/20
- 47/89: gnu: openssl: Build fix for the Hurd., guix-commits, 2023/06/20
- 50/89: gnu: elfutils: Skip failing tests on the Hurd., guix-commits, 2023/06/20
- 40/89: Revert "gnu: sed: Skip failing test on GNU/Hurd.", guix-commits, 2023/06/20
- 65/89: gnu: ruby-2.6: Skip test on the Hurd., guix-commits, 2023/06/20
- 61/89: gnu: parted: Disable tests for the Hurd., guix-commits, 2023/06/20
- 68/89: gnu: zstd: Skip tests when building for the Hurd., guix-commits, 2023/06/20
- 60/89: gnu: e2fsprogs: Skip failing tests on the Hurd., guix-commits, 2023/06/20
- 59/89: gnu: procps: Skip linux-version test for the Hurd.,
guix-commits <=
- 70/89: gnu: cmake-minimal: Skip tests on the Hurd., guix-commits, 2023/06/20
- 46/89: hurd-boot: Support system init: Create essential device nodes., guix-commits, 2023/06/20
- 72/89: gnu: graphite2: Skip test on the Hurd., guix-commits, 2023/06/20
- 74/89: gnu: glib: Disable tests for the Hurd., guix-commits, 2023/06/20
- 77/89: gnu: pango: Support build for the Hurd., guix-commits, 2023/06/20
- 85/89: gnu: guix: Disable some tests on the Hurd., guix-commits, 2023/06/20
- 89/89: DRAFT system: examples: Add devel-hurd.tmpl., guix-commits, 2023/06/20