[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
59/85: gnu: procps: Skip linux-version test for the Hurd.
From: |
guix-commits |
Subject: |
59/85: gnu: procps: Skip linux-version test for the Hurd. |
Date: |
Thu, 15 Jun 2023 02:32:43 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit e8228f69e0bbc6949e31a061eb11274930a7f4dd
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 6a6cbc118d..cb492ccea0 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/")
- 79/85: gnu: po4a: Skip failing test for the Hurd., (continued)
- 79/85: gnu: po4a: Skip failing test for the Hurd., guix-commits, 2023/06/15
- 35/85: gnu: commencement: hurd-minimal-boot0: Update to 0.9.git20230216., guix-commits, 2023/06/15
- 47/85: gnu: openssl: Build fix for the Hurd., guix-commits, 2023/06/15
- 43/85: gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd., guix-commits, 2023/06/15
- 46/85: hurd-boot: Support system init: Create essential device nodes., guix-commits, 2023/06/15
- 52/85: gnu: c-ares: Skip failing tests for the Hurd., guix-commits, 2023/06/15
- 69/85: gnu: cmake-bootstrap: Fix build for the Hurd., guix-commits, 2023/06/15
- 64/85: gnu: openssl-1.1: Fix shared build for the Hurd., guix-commits, 2023/06/15
- 68/85: gnu: zstd: Skip tests when building for the Hurd., guix-commits, 2023/06/15
- 71/85: gnu: doxygen: Fix build for the Hurd., guix-commits, 2023/06/15
- 59/85: gnu: procps: Skip linux-version test for the Hurd.,
guix-commits <=
- 83/85: DRAFT hurd: Support second boot., guix-commits, 2023/06/15
- 42/85: gnu: diffutils: Remove test-perror2 from XFAIL_TESTS for the Hurd., guix-commits, 2023/06/15
- 65/85: gnu: ruby-2.6: Skip test for the Hurd., guix-commits, 2023/06/15
- 61/85: gnu: parted: Disable tests for the Hurd., guix-commits, 2023/06/15
- 16/85: gnu: Add rumpkernel., guix-commits, 2023/06/15
- 31/85: gnu: commencement: Add automake-boot0., guix-commits, 2023/06/15
- 62/85: gnu: libpaper: Disable tests for the Hurd., guix-commits, 2023/06/15
- 53/85: gnu: libgpg-error: Skip failing test for the Hurd., guix-commits, 2023/06/15
- 60/85: gnu: e2fsprogs: Skip failing tests for the Hurd., guix-commits, 2023/06/15
- 80/85: gnu: guile-2.0: Skip failing tests for the Hurd., guix-commits, 2023/06/15