From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 8FC0115802C for ; Sun, 15 Dec 2024 18:10:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D51E8E0ACB; Sun, 15 Dec 2024 18:10:08 +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 B509DE0ACC for ; Sun, 15 Dec 2024 18:10:08 +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 A8B1E342FF1 for ; Sun, 15 Dec 2024 18:10:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3734A227B for ; Sun, 15 Dec 2024 18:10:04 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1734278179.215e297f203df8291df1fbe4a55a803a0a23104d.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:master 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: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: 215e297f203df8291df1fbe4a55a803a0a23104d X-VCS-Branch: master Date: Sun, 15 Dec 2024 18:10:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0c9f55df-401d-4913-8b66-aa4d5cfbe309 X-Archives-Hash: 21ab53647345032da5db145bc137b21d commit: 215e297f203df8291df1fbe4a55a803a0a23104d Author: Yuan Liao gmail com> AuthorDate: Sun Dec 15 15:53:16 2024 +0000 Commit: Julien Roy jroy ca> 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 sysrq.in> Fixes: 08f413c38 (games-emulation/dosbox-x: Set XDG_CONFIG_HOME for tests) Signed-off-by: Yuan Liao 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"