commit:     8a12c556899160652b35a7f4665a647a7896cd76
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 24 04:23:49 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Dec 24 06:13:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a12c556

games-strategy/naev: restrict tests

This broke (again) with software rendering likely since some mesa or
Xorg version but unsure (fails to create opengl context), could also
be missing something new for this to work. At this point would rather
just restrict it than try to figure out what went wrong every time,
esp. since always been doing the same test manually anyway.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-strategy/naev/naev-0.11.5.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/games-strategy/naev/naev-0.11.5.ebuild 
b/games-strategy/naev/naev-0.11.5.ebuild
index b15834855402..da1c44d6a2ad 100644
--- a/games-strategy/naev/naev-0.11.5.ebuild
+++ b/games-strategy/naev/naev-0.11.5.ebuild
@@ -21,6 +21,11 @@ KEYWORDS="~amd64 ~x86"
 IUSE="doc"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 
+# tests are very basic, equivalent of just starting the game and checking if
+# can see the main menu -- but this breaks easily with software rendering and
+# some Xorg/mesa versions, simpler to do manually than try to keep this working
+RESTRICT="test"
+
 # dlopen: libglvnd
 RDEPEND="
        ${LUA_DEPS}
@@ -78,8 +83,7 @@ src_prepare() {
        # use eclass' generated lua.pc first rather than as fallback
        sed -i "s/'lua51'/'lua'/" meson.build || die
 
-       # don't probe OpenGL for tests (avoids sandbox violations, bug #829369),
-       # mesa[llvm] should ensure software rendering will work
+       # don't probe OpenGL for tests (avoids sandbox violations, bug #829369)
        sed -i "/subdir('glcheck')/d" test/meson.build || die
 }
 

Reply via email to