[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch wip-hurd updated: gnu: procps: Skip linux-version test for the Hu
From: |
guix-commits |
Subject: |
branch wip-hurd updated: gnu: procps: Skip linux-version test for the Hurd. |
Date: |
Fri, 09 Jun 2023 01:45:06 -0400 |
This is an automated email from the git hooks/post-receive script.
janneke pushed a commit to branch wip-hurd
in repository guix.
The following commit(s) were added to refs/heads/wip-hurd by this push:
new f5a24d18ac gnu: procps: Skip linux-version test for the Hurd.
f5a24d18ac is described below
commit f5a24d18ac96d0473343df8cbb7ba45e387dde9e
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/")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch wip-hurd updated: gnu: procps: Skip linux-version test for the Hurd.,
guix-commits <=