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 E133C15802C for ; Sun, 15 Dec 2024 18:10:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 87153E0ABF; Sun, 15 Dec 2024 18:10: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 E3B87E0AAC for ; Sun, 15 Dec 2024 18:10:06 +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 0EB5B342FF2 for ; Sun, 15 Dec 2024 18:10:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 54F421F7A for ; Sun, 15 Dec 2024 18:10:03 +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: <1734194855.08f413c3871d931d1a3fd7ae68dd4c97cc5a308a.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-9999.ebuild X-VCS-Directories: games-emulation/dosbox-x/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: 08f413c3871d931d1a3fd7ae68dd4c97cc5a308a X-VCS-Branch: master Date: Sun, 15 Dec 2024 18:10:03 +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: 765ece21-6b80-49a0-a1b0-66f38af9e0df X-Archives-Hash: 5f2446f1906ebc876185ec16d16adbf8 commit: 08f413c3871d931d1a3fd7ae68dd4c97cc5a308a Author: Yuan Liao gmail com> AuthorDate: Sat Dec 14 16:30:38 2024 +0000 Commit: Julien Roy jroy ca> CommitDate: Sat Dec 14 16:47:35 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=08f413c3 games-emulation/dosbox-x: Set XDG_CONFIG_HOME for tests Since upstream commit 25f23a25c (Log loaded conf file, 2024-11-09), DOSBox-X creates a default configuration file if an existing file does not exist when its binary is launched, even when it is just to run self tests. When Portage runs the tests, to ensure the tests can start without an error or even a segmentation fault, the 'portage' user must have permission to the path where DOSBox-X will create the configuration file. Signed-off-by: Yuan Liao gmail.com> games-emulation/dosbox-x/dosbox-x-9999.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/games-emulation/dosbox-x/dosbox-x-9999.ebuild b/games-emulation/dosbox-x/dosbox-x-9999.ebuild index 7372dc2d4..3dc3a128b 100644 --- a/games-emulation/dosbox-x/dosbox-x-9999.ebuild +++ b/games-emulation/dosbox-x/dosbox-x-9999.ebuild @@ -151,6 +151,7 @@ src_compile() { } src_test() { + local -x XDG_CONFIG_HOME="${T}" # Tests may create configuration files set -- src/dosbox-x -tests echo "${@}" >&2 "${@}" || die "Unit tests failed"