gnu: parted: Skip tests when cross-compiling.

* gnu/packages/disk.scm (parted)[arguments]: Adjust #:tests? to skip
tests when cross-compiling.
This commit is contained in:
Efraim Flashner 2023-07-20 17:43:15 +03:00
parent 0867cdc514
commit 696b22141c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3,7 +3,7 @@
;;; Copyright © 2015 Mathieu Lirzin <mthl@gnu.org>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016, 20182022 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 @@ (define-public parted
#: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