guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/06: gnu: parted: Skip tests when cross-compiling.


From: guix-commits
Subject: 04/06: gnu: parted: Skip tests when cross-compiling.
Date: Fri, 21 Jul 2023 06:23:07 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 696b22141cb53b9797c80f49079c0a0fcd60ba64
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Jul 20 17:43:15 2023 +0300

    gnu: parted: Skip tests when cross-compiling.
    
    * gnu/packages/disk.scm (parted)[arguments]: Adjust #:tests? to skip
    tests when cross-compiling.
---
 gnu/packages/disk.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 35ffcf173e..21e8775e83 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -3,7 +3,7 @@
 ;;; Copyright © 2015 Mathieu Lirzin <mthl@gnu.org>
 ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2016, 2018–2022 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2016, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2019-2021, 2023 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016, 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
 ;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>
@@ -259,7 +259,8 @@ tmpfs/ramfs filesystems.")
       #:configure-flags (if (target-hurd?)
                             #~'("--disable-device-mapper")
                             #~'())
-      #:tests? (not (target-hurd?))
+      #:tests? (not (or (target-hurd?)
+                        (%current-target-system)))
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'fix-locales-and-python



reply via email to

[Prev in Thread] Current Thread [Next in Thread]