commit:     7fd63cb7951b2a4a47ff6eceed77eba2ef4779da
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 15 02:22:12 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Oct 15 02:59:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fd63cb7

app-emulation/ruffle: skip flaky test

May need more looking into, but is not considered harmful
at the moment.

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

 app-emulation/ruffle/ruffle-0_p20230919.ebuild | 11 +++++++++++
 app-emulation/ruffle/ruffle-9999.ebuild        | 11 +++++++++++
 2 files changed, 22 insertions(+)

diff --git a/app-emulation/ruffle/ruffle-0_p20230919.ebuild 
b/app-emulation/ruffle/ruffle-0_p20230919.ebuild
index ae303b001a1d..ac51947b5041 100644
--- a/app-emulation/ruffle/ruffle-0_p20230919.ebuild
+++ b/app-emulation/ruffle/ruffle-0_p20230919.ebuild
@@ -613,9 +613,20 @@ src_configure() {
                exporter
                $(usev test tests)
        )
+
        cargo_src_configure ${workspaces[*]/#/--package=}
 }
 
+src_test() {
+       local skip=(
+               # may need more investigation, strangely "pass" (xfail) when
+               # RUSTFLAGS is unset, skip for now (bug #915726)
+               --skip from_avmplus/as3/Types/Int/wraparound
+       )
+
+       cargo_src_test -- "${skip[@]}"
+}
+
 src_install() {
        dodoc README.md
 

diff --git a/app-emulation/ruffle/ruffle-9999.ebuild 
b/app-emulation/ruffle/ruffle-9999.ebuild
index fbc440002e65..a54f26933afa 100644
--- a/app-emulation/ruffle/ruffle-9999.ebuild
+++ b/app-emulation/ruffle/ruffle-9999.ebuild
@@ -78,9 +78,20 @@ src_configure() {
                exporter
                $(usev test tests)
        )
+
        cargo_src_configure ${workspaces[*]/#/--package=}
 }
 
+src_test() {
+       local skip=(
+               # may need more investigation, strangely "pass" (xfail) when
+               # RUSTFLAGS is unset, skip for now (bug #915726)
+               --skip from_avmplus/as3/Types/Int/wraparound
+       )
+
+       cargo_src_test -- "${skip[@]}"
+}
+
 src_install() {
        dodoc README.md
 

Reply via email to