commit:     9d444972d47ed020d3923d33e80006cb51be2723
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  7 00:19:38 2019 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Dec  7 01:27:30 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d444972

games-fps/eduke32: restrict tests

Instead of running empty tests, restrict them.

Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 games-fps/eduke32/eduke32-20191204.8360.ebuild | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/games-fps/eduke32/eduke32-20191204.8360.ebuild 
b/games-fps/eduke32/eduke32-20191204.8360.ebuild
index 421ae835da1..58283d8826c 100644
--- a/games-fps/eduke32/eduke32-20191204.8360.ebuild
+++ b/games-fps/eduke32/eduke32-20191204.8360.ebuild
@@ -46,7 +46,9 @@ REQUIRED_USE="
        vpx? ( opengl )
 "
 
-RESTRICT="bindist"
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
 
 S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
 
@@ -161,12 +163,6 @@ src_compile() {
        fi
 }
 
-src_test() {
-       # There are no tests
-       # Instead it tries to build a test game, which does not compile
-       :;
-}
-
 src_install() {
        dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
 

Reply via email to