gnu: ode: Skip tests when cross-compiling.

* gnu/packages/game-development.scm (ode)[arguments]: Adjust #:tests? to
skip tests when cross-compiling.
This commit is contained in:
Efraim Flashner 2023-07-09 10:20:02 +03:00
parent 533d2b83a1
commit 7ba92bd38f
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4,7 +4,7 @@
;;; Copyright © 2015, 2018, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015, 2018 Alex Kost <alezost@gmail.com>
;;; Copyright © 2015, 2016, 2017 David Thompson <davet@gnu.org>
;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016-2021, 2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2017, 2020 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2016, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016, 2017, 2018 Julian Graham <joolean@gmail.com>
@ -2427,7 +2427,8 @@ (define-public ode
(arguments
(list
;; XXX: The sole test is failing on i686 due to a rounding error.
#:tests? (not (target-x86-32?))
#:tests? (not (or (target-x86-32?)
(%current-target-system)))
#:configure-flags #~(list "-DODE_WITH_LIBCCD_SYSTEM=ON")
#:phases
#~(modify-phases %standard-phases