From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1700543-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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C7EA815802C for <garchives@archives.gentoo.org>; Sun, 15 Dec 2024 16:02:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 36EA2E0ABE; Sun, 15 Dec 2024 16:02:21 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A0F0BE0ABE for <gentoo-commits@lists.gentoo.org>; Sun, 15 Dec 2024 16:02:20 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 62017342FAF for <gentoo-commits@lists.gentoo.org>; Sun, 15 Dec 2024 16:02:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A917D16A1 for <gentoo-commits@lists.gentoo.org>; Sun, 15 Dec 2024 16:02:15 +0000 (UTC) From: "Yuan Liao" <liaoyuan@gmail.com> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yuan Liao" <liaoyuan@gmail.com> Message-ID: <1734278179.215e297f203df8291df1fbe4a55a803a0a23104d.liaoyuan@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-emulation/dosbox-x/ X-VCS-Repository: repo/proj/guru X-VCS-Files: games-emulation/dosbox-x/dosbox-x-2024.12.04.ebuild games-emulation/dosbox-x/dosbox-x-9999.ebuild X-VCS-Directories: games-emulation/dosbox-x/ X-VCS-Committer: liaoyuan X-VCS-Committer-Name: Yuan Liao X-VCS-Revision: 215e297f203df8291df1fbe4a55a803a0a23104d X-VCS-Branch: dev Date: Sun, 15 Dec 2024 16:02:15 +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: 518a7517-63d2-4838-a3da-4ee10306c027 X-Archives-Hash: a6c3ef6218abf97ce670a4e9d6a8f39c commit: 215e297f203df8291df1fbe4a55a803a0a23104d Author: Yuan Liao <liaoyuan <AT> gmail <DOT> com> AuthorDate: Sun Dec 15 15:53:16 2024 +0000 Commit: Yuan Liao <liaoyuan <AT> gmail <DOT> com> CommitDate: Sun Dec 15 15:56:19 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=215e297f games-emulation/dosbox-x: Use xdg-utils.eclass to set XDG_CONFIG_HOME Suggested-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> Fixes: 08f413c38 (games-emulation/dosbox-x: Set XDG_CONFIG_HOME for tests) Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com> games-emulation/dosbox-x/dosbox-x-2024.12.04.ebuild | 2 +- games-emulation/dosbox-x/dosbox-x-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/games-emulation/dosbox-x/dosbox-x-2024.12.04.ebuild b/games-emulation/dosbox-x/dosbox-x-2024.12.04.ebuild index 3dc3a128b..d7917dae5 100644 --- a/games-emulation/dosbox-x/dosbox-x-2024.12.04.ebuild +++ b/games-emulation/dosbox-x/dosbox-x-2024.12.04.ebuild @@ -151,7 +151,7 @@ src_compile() { } src_test() { - local -x XDG_CONFIG_HOME="${T}" # Tests may create configuration files + xdg_environment_reset # Tests may create config files in XDG_CONFIG_HOME set -- src/dosbox-x -tests echo "${@}" >&2 "${@}" || die "Unit tests failed" diff --git a/games-emulation/dosbox-x/dosbox-x-9999.ebuild b/games-emulation/dosbox-x/dosbox-x-9999.ebuild index 3dc3a128b..d7917dae5 100644 --- a/games-emulation/dosbox-x/dosbox-x-9999.ebuild +++ b/games-emulation/dosbox-x/dosbox-x-9999.ebuild @@ -151,7 +151,7 @@ src_compile() { } src_test() { - local -x XDG_CONFIG_HOME="${T}" # Tests may create configuration files + xdg_environment_reset # Tests may create config files in XDG_CONFIG_HOME set -- src/dosbox-x -tests echo "${@}" >&2 "${@}" || die "Unit tests failed"