Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/box2d/
Date: Fri, 08 Oct 2021 11:18:50
Message-Id: 1633691863.eafd348ed8913276c442bfbbc0c7d388174ef99b.ionen@gentoo
1 commit: eafd348ed8913276c442bfbbc0c7d388174ef99b
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 8 11:14:11 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 8 11:17:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eafd348e
7
8 games-engines/box2d: actually run built tests
9
10 Not much sense in having a new IUSE=test if not running tests
11 (testbed still disabled, unsure if can resonably run these here).
12
13 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
14
15 games-engines/box2d/box2d-2.4.1.ebuild | 4 ++++
16 1 file changed, 4 insertions(+)
17
18 diff --git a/games-engines/box2d/box2d-2.4.1.ebuild b/games-engines/box2d/box2d-2.4.1.ebuild
19 index bbb16ef9e92..0fe84b500b2 100644
20 --- a/games-engines/box2d/box2d-2.4.1.ebuild
21 +++ b/games-engines/box2d/box2d-2.4.1.ebuild
22 @@ -25,3 +25,7 @@ src_configure() {
23 )
24 cmake_src_configure
25 }
26 +
27 +src_test() {
28 + "${BUILD_DIR}"/bin/unit_test || die
29 +}