commit:     68f29b36abe7cdd02ce86955b8e6e00c23a36485
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 28 01:05:29 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Jul 28 01:08:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68f29b36

app-emulation/ruffle: skip displacement_map tests + use xdg reset

Note that this skips all 4 failing tests, it's matching on substring.

Closes: https://bugs.gentoo.org/911320
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 app-emulation/ruffle/ruffle-0_p20230724.ebuild | 11 ++++++++++-
 app-emulation/ruffle/ruffle-9999.ebuild        | 11 ++++++++++-
 2 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/app-emulation/ruffle/ruffle-0_p20230724.ebuild 
b/app-emulation/ruffle/ruffle-0_p20230724.ebuild
index e242da6b322b..012ed52e5f0f 100644
--- a/app-emulation/ruffle/ruffle-0_p20230724.ebuild
+++ b/app-emulation/ruffle/ruffle-0_p20230724.ebuild
@@ -615,7 +615,16 @@ src_configure() {
 }
 
 src_test() {
-       virtx cargo_src_test
+       xdg_environment_reset
+
+       local skip=(
+               # this should be fine on real hardware, but currently fails 
with mesa's
+               # software rendering (bug #911320) -- note they are 
auto-skipped if
+               # USE=-gles2 on mesa, and this just forces to skip regardless
+               --skip visual/filters/displacement_map
+       )
+
+       virtx cargo_src_test -- "${skip[@]}"
 }
 
 src_install() {

diff --git a/app-emulation/ruffle/ruffle-9999.ebuild 
b/app-emulation/ruffle/ruffle-9999.ebuild
index 4fb5bd694470..ced4e9790b1e 100644
--- a/app-emulation/ruffle/ruffle-9999.ebuild
+++ b/app-emulation/ruffle/ruffle-9999.ebuild
@@ -80,7 +80,16 @@ src_configure() {
 }
 
 src_test() {
-       virtx cargo_src_test
+       xdg_environment_reset
+
+       local skip=(
+               # this should be fine on real hardware, but currently fails 
with mesa's
+               # software rendering (bug #911320) -- note they are 
auto-skipped if
+               # USE=-gles2 on mesa, and this just forces to skip regardless
+               --skip visual/filters/displacement_map
+       )
+
+       virtx cargo_src_test -- "${skip[@]}"
 }
 
 src_install() {

Reply via email to