From 07a7cccbac59dd8265fffdd4b87616cd0419a2c7 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 28 Jan 2020 20:23:41 +0100 Subject: gnu: ode: Properly disable tests when cross-compiling. * gnu/packages/game-development.scm (ode): Properly disable tests when using (%current-target-system). --- gnu/packages/game-development.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 5160bcf2ea..2498f6f39d 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -1999,9 +1999,9 @@ a.k.a. XenoCollide) as described in Game Programming Gems 7.") (build-system cmake-build-system) (arguments ;; Tests fail on all systems but x86_64. - `(#:tests? ,(string=? "x86_64-linux" - (or (%current-target-system) - (%current-system))) + `(#:tests? ,(string-prefix? "x86_64-" + (or (%current-target-system) + (%current-system))) #:configure-flags '("-DODE_WITH_LIBCCD_SYSTEM=ON") #:phases (modify-phases %standard-phases -- cgit v1.2.3