From 7696c8819f6e03d057e01ef004e9456ca22b89a3 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 29 Nov 2023 21:45:00 +0200 Subject: 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 -;;; Copyright © 2018 Efraim Flashner +;;; Copyright © 2018, 2023 Efraim Flashner ;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2019, 2020, 2021, 2023 Maxim Cournoyer ;;; Copyright © 2020 Michael Rohleder @@ -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 -- cgit v1.2.3