guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: ode: Properly disable tests when cross-compi


From: guix-commits
Subject: branch master updated: gnu: ode: Properly disable tests when cross-compiling.
Date: Tue, 28 Jan 2020 14:26:31 -0500

This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 07a7ccc  gnu: ode: Properly disable tests when cross-compiling.
07a7ccc is described below

commit 07a7cccbac59dd8265fffdd4b87616cd0419a2c7
Author: Nicolas Goaziou <address@hidden>
AuthorDate: Tue Jan 28 20:23:41 2020 +0100

    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 5160bcf..2498f6f 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



reply via email to

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