From 7fd63cb7951b2a4a47ff6eceed77eba2ef4779da Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Sat, 14 Oct 2023 22:22:12 -0400 Subject: [PATCH] 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 --- 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 ae303b001a1d0..ac51947b50415 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 fbc440002e652..a54f26933afa0 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