[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: docker-libnetwork-cmd-proxy: Skip tests on most architecture
From: |
guix-commits |
Subject: |
01/02: gnu: docker-libnetwork-cmd-proxy: Skip tests on most architectures. |
Date: |
Wed, 29 Nov 2023 15:34:59 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 7696c8819f6e03d057e01ef004e9456ca22b89a3
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Nov 29 21:45:00 2023 +0200
gnu: docker-libnetwork-cmd-proxy: Skip tests on most architectures.
* gnu/packages/docker.scm (docker-libnetwork-cmd-proxy)[arguments]: Skip
the tests unless building on x86_64-linux and not cross-building.
Change-Id: I35028bd728920840370fe641240053baa3a4585f
---
gnu/packages/docker.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm
index 3b809feb67..a69bbac168 100644
--- a/gnu/packages/docker.scm
+++ b/gnu/packages/docker.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 David Thompson <davet@gnu.org>
-;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2018, 2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019, 2020, 2021, 2023 Maxim Cournoyer
<maxim.cournoyer@gmail.com>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
@@ -299,7 +299,10 @@ the required network abstractions for applications.")
(inherit docker-libnetwork)
(name "docker-libnetwork-cmd-proxy")
(arguments
- `(#:import-path "github.com/docker/libnetwork/cmd/proxy"
+ ;; The tests are unsupported on all architectures except x86_64-linux.
+ `(#:tests? ,(and (not (%current-target-system))
+ (target-x86-64?))
+ #:import-path "github.com/docker/libnetwork/cmd/proxy"
#:unpack-path "github.com/docker/libnetwork"
#:install-source? #f))
(native-inputs