gnu: teeworlds: Enable tests.

* gnu/packages/games.scm (teeworlds)[arguments]: Enable tests. Set
test-target.
[native-inputs]: Add googletest.
This commit is contained in:
Efraim Flashner 2021-09-14 16:29:16 +03:00
parent a0d38c01e8
commit c38cca1e3e
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -6232,7 +6232,7 @@ (define-public teeworlds
#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 @@ (define-public teeworlds
("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")