summary refs log tree commit diff
path: root/gnu/packages/games.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-09-14 16:29:16 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-09-14 16:29:16 +0300
commitc38cca1e3eb92663e112902a73220a0eb8657604 (patch)
treee76529bc311968d03f30f71fc37117e1db61b56a /gnu/packages/games.scm
parenta0d38c01e8434dbeb5fc1a352bbe22af5759c40d (diff)
downloadguix-c38cca1e3eb92663e112902a73220a0eb8657604.tar.gz
gnu: teeworlds: Enable tests.
* gnu/packages/games.scm (teeworlds)[arguments]: Enable tests. Set
test-target.
[native-inputs]: Add googletest.
Diffstat (limited to 'gnu/packages/games.scm')
-rw-r--r--gnu/packages/games.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 69d2ce792a..c39770c260 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")