games-fps/eduke32: restrict tests
authorConrad Kostecki <conikost@gentoo.org>
Sat, 7 Dec 2019 00:19:38 +0000 (01:19 +0100)
committerConrad Kostecki <conikost@gentoo.org>
Sat, 7 Dec 2019 01:27:30 +0000 (02:27 +0100)
Instead of running empty tests, restrict them.

Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
games-fps/eduke32/eduke32-20191204.8360.ebuild

index 421ae835da160f60694558ede404c14008282927..58283d8826c53acad854d0c9875c135e98d8e505 100644 (file)
@@ -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