[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
30/67: gnu: procps: Skip linux-version test for the Hurd.
From: |
guix-commits |
Subject: |
30/67: gnu: procps: Skip linux-version test for the Hurd. |
Date: |
Tue, 18 Jul 2023 10:57:03 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 4731c0f34c71c0554e235fa8b47b74be18173347
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/")
- 25/67: gnu: libgcrypt: Skip hanging benchmark tests on the Hurd., (continued)
- 25/67: gnu: libgcrypt: Skip hanging benchmark tests on the Hurd., guix-commits, 2023/07/18
- 24/67: gnu: libgpg-error: Skip failing test on the Hurd., guix-commits, 2023/07/18
- 33/67: gnu: libpaper: Disable tests for the Hurd., guix-commits, 2023/07/18
- 31/67: gnu: e2fsprogs: Skip failing tests on the Hurd., guix-commits, 2023/07/18
- 37/67: gnu: tcsh: Skip substitution tests on the Hurd., guix-commits, 2023/07/18
- 61/67: gnu: guix: Update to 1.4.0-8.0a3070bbe9., guix-commits, 2023/07/18
- 45/67: gnu: glib: Disable tests for the Hurd., guix-commits, 2023/07/18
- 17/67: gnu: m4: Skip gnulib stack-overflow tests for the Hurd., guix-commits, 2023/07/18
- 01/67: gnu: commencement: Add autoconf-boot0., guix-commits, 2023/07/18
- 27/67: gnu: curl: Skip failing test on the Hurd., guix-commits, 2023/07/18
- 30/67: gnu: procps: Skip linux-version test for the Hurd.,
guix-commits <=
- 22/67: gnu: libbsd: Skip failing test on the Hurd., guix-commits, 2023/07/18
- 42/67: gnu: doxygen: Fix build for the Hurd., guix-commits, 2023/07/18
- 43/67: gnu: graphite2: Skip test on the Hurd., guix-commits, 2023/07/18
- 62/67: gnu: guix: Update to 1.4.0-9.b45f40d4fc., guix-commits, 2023/07/18
- 53/67: hurd-boot: Support system init: Create essential device nodes., guix-commits, 2023/07/18
- 35/67: gnu: openssl-1.1: Fix shared build for the Hurd., guix-commits, 2023/07/18
- 49/67: gnu: fontforge: Support build on the Hurd., guix-commits, 2023/07/18
- 60/67: gnu: guix: Disable some tests on the Hurd., guix-commits, 2023/07/18
- 55/67: system: hurd: Add swap-services to hurd-default-essential-services., guix-commits, 2023/07/18
- 48/67: gnu: pango: Support build for the Hurd., guix-commits, 2023/07/18