From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1541689-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 7FEBC15800A
	for <garchives@archives.gentoo.org>; Fri, 28 Jul 2023 01:09:08 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 5B05BE09E9;
	Fri, 28 Jul 2023 01:09:07 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 37683E09E9
	for <gentoo-commits@lists.gentoo.org>; Fri, 28 Jul 2023 01:09:07 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 0CA963412C2
	for <gentoo-commits@lists.gentoo.org>; Fri, 28 Jul 2023 01:09:06 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 8B9EEDC7
	for <gentoo-commits@lists.gentoo.org>; Fri, 28 Jul 2023 01:09:04 +0000 (UTC)
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" <ionen@gentoo.org>
Message-ID: <1690506534.68f29b36abe7cdd02ce86955b8e6e00c23a36485.ionen@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/ruffle/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-emulation/ruffle/ruffle-0_p20230724.ebuild app-emulation/ruffle/ruffle-9999.ebuild
X-VCS-Directories: app-emulation/ruffle/
X-VCS-Committer: ionen
X-VCS-Committer-Name: Ionen Wolkens
X-VCS-Revision: 68f29b36abe7cdd02ce86955b8e6e00c23a36485
X-VCS-Branch: master
Date: Fri, 28 Jul 2023 01:09:04 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 7a066219-989d-4dd1-a235-7136a1c59a51
X-Archives-Hash: 042ae6321020537d2a654c7197007f60

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() {