From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/teeworlds/
Date: Fri, 23 May 2025 18:02:29 +0000 (UTC) [thread overview]
Message-ID: <1748023317.0448d72f9a3ebf1edc84a6400cb47a0cc9e35ce1.sam@gentoo> (raw)
commit: 0448d72f9a3ebf1edc84a6400cb47a0cc9e35ce1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 23 09:21:53 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 23 18:01:57 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0448d72f
games-action/teeworlds: wire up tests
Signed-off-by: Sam James <sam <AT> gentoo.org>
games-action/teeworlds/teeworlds-0.7.5-r3.ebuild | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/games-action/teeworlds/teeworlds-0.7.5-r3.ebuild b/games-action/teeworlds/teeworlds-0.7.5-r3.ebuild
index a48cbac93ecd..dd629e645307 100644
--- a/games-action/teeworlds/teeworlds-0.7.5-r3.ebuild
+++ b/games-action/teeworlds/teeworlds-0.7.5-r3.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{11..13} )
inherit cmake desktop flag-o-matic python-any-r1
DESCRIPTION="Online multi-player platform 2D shooter"
@@ -17,7 +17,8 @@ S=${WORKDIR}/${P}-src
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="dedicated"
+IUSE="dedicated test"
+RESTRICT="!test? ( test )"
RDEPEND="
!dedicated? (
@@ -31,7 +32,10 @@ RDEPEND="
sys-libs/zlib:=
"
DEPEND="${RDEPEND}"
-BDEPEND="${PYTHON_DEPS}"
+BDEPEND="
+ ${PYTHON_DEPS}
+ test? ( dev-cpp/gtest )
+"
src_configure() {
append-flags -fno-strict-aliasing #858524
@@ -44,6 +48,10 @@ src_configure() {
cmake_src_configure
}
+src_test() {
+ eninja run_tests
+}
+
src_install() {
cmake_src_install
next reply other threads:[~2025-05-23 18:02 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-23 18:02 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-16 10:59 [gentoo-commits] repo/gentoo:master commit in: games-action/teeworlds/ Ionen Wolkens
2024-05-05 23:44 Ionen Wolkens
2023-01-18 15:15 Ionen Wolkens
2023-01-18 15:15 Ionen Wolkens
2021-11-17 2:19 Sam James
2021-07-03 4:00 Ionen Wolkens
2021-05-14 0:22 Sam James
2021-05-13 20:33 Sam James
2021-05-13 20:33 Sam James
2020-07-01 10:28 Andreas Sturmlechner
2020-07-01 10:28 Andreas Sturmlechner
2018-04-15 11:34 David Seifert
2017-05-06 19:54 James Le Cuirot
2017-05-06 17:20 Agostino Sarubbo
2017-05-05 14:10 Agostino Sarubbo
2017-05-04 21:21 James Le Cuirot
2017-01-30 23:09 Austin English
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1748023317.0448d72f9a3ebf1edc84a6400cb47a0cc9e35ce1.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox