guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: teeworlds: Enable tests.


From: guix-commits
Subject: 02/02: gnu: teeworlds: Enable tests.
Date: Tue, 14 Sep 2021 09:40:18 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit c38cca1e3eb92663e112902a73220a0eb8657604
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Sep 14 16:29:16 2021 +0300

    gnu: teeworlds: Enable tests.
    
    * gnu/packages/games.scm (teeworlds)[arguments]: Enable tests. Set
    test-target.
    [native-inputs]: Add googletest.
---
 gnu/packages/games.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 69d2ce7..c39770c 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -6232,7 +6232,7 @@ small robot living in the nano world, repair its maker.")
                   #t))))
     (build-system cmake-build-system)
     (arguments
-     `(#:tests? #f                      ; no tests included
+     `(#:test-target "run_tests"
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'patch-paths
@@ -6266,7 +6266,8 @@ small robot living in the nano world, repair its maker.")
        ("openssl" ,openssl)
        ("zlib" ,zlib)))
     (native-inputs
-     `(("python" ,python-wrapper)
+     `(("googletest" ,googletest)
+       ("python" ,python-wrapper)
        ("pkg-config" ,pkg-config)))
     (home-page "https://www.teeworlds.com";)
     (synopsis "2D retro multiplayer shooter game")



reply via email to

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