[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
59/84: gnu: procps: Skip linux-version test for the Hurd.
From: |
guix-commits |
Subject: |
59/84: gnu: procps: Skip linux-version test for the Hurd. |
Date: |
Wed, 14 Jun 2023 06:24:00 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd
in repository guix.
commit fc10abee6172aa893d44de01d1f3914f189e6389
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 for 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 501ac9d19c..0aa2239b9e 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>
@@ -2355,7 +2355,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 (target-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/")
- 68/84: gnu: zstd: Skip tests when building for the Hurd., (continued)
- 68/84: gnu: zstd: Skip tests when building for the Hurd., guix-commits, 2023/06/14
- 66/84: gnu: tcsh: Skip substitution tests for the Hurd., guix-commits, 2023/06/14
- 14/84: gnu: Add libpciaccess-0.17., guix-commits, 2023/06/14
- 39/84: gnu: grep: Update hanging and failing tests for the Hurd., guix-commits, 2023/06/14
- 47/84: gnu: openssl: Build fix for the Hurd., guix-commits, 2023/06/14
- 46/84: hurd-boot: Support system init: Create essential device nodes., guix-commits, 2023/06/14
- 48/84: gnu: python: Support native build on the Hurd., guix-commits, 2023/06/14
- 50/84: gnu: elfutils: Skip failing tests for the Hurd., guix-commits, 2023/06/14
- 22/84: system: hurd: Boot with pci.arbiter and rumpdisk., guix-commits, 2023/06/14
- 37/84: gnu: guile: Skip hanging and failing pipe tests on the Hurd., guix-commits, 2023/06/14
- 59/84: gnu: procps: Skip linux-version test for the Hurd.,
guix-commits <=
- 70/84: gnu: cmake-minimal: Skip tests for the Hurd., guix-commits, 2023/06/14
- 41/84: gnu: findutils: Move test-strerror_r from XFAIL to skip for the Hurd., guix-commits, 2023/06/14
- 43/84: gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd., guix-commits, 2023/06/14
- 36/84: Revert "gnu: libunistring: Fix make check for the Hurd.", guix-commits, 2023/06/14
- 56/84: gnu: curl: Skip failing test for the Hurd., guix-commits, 2023/06/14
- 71/84: gnu: doxygen: Fix build for the Hurd., guix-commits, 2023/06/14
- 76/84: gnu: harfbuzz: Support build for the Hurd., guix-commits, 2023/06/14
- 72/84: gnu: graphite2: Skip test for the Hurd., guix-commits, 2023/06/14
- 82/84: DRAFT hurd: Support second boot., guix-commits, 2023/06/14
- 62/84: gnu: libpaper: Disable tests for the Hurd., guix-commits, 2023/06/14