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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BD6D01382C5 for ; Tue, 27 Feb 2018 16:48:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 097DCE085A; Tue, 27 Feb 2018 16:48:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E01FCE085A for ; Tue, 27 Feb 2018 16:48:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C6628335C0A for ; Tue, 27 Feb 2018 16:48:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 081251ED for ; Tue, 27 Feb 2018 16:48:36 +0000 (UTC) From: "Markus Meier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Markus Meier" Message-ID: <1519750054.57481f37a9cd686213354476a54cb10f2ab8449f.maekke@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/lensfun/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/lensfun/lensfun-0.3.2-r1.ebuild X-VCS-Directories: media-libs/lensfun/ X-VCS-Committer: maekke X-VCS-Committer-Name: Markus Meier X-VCS-Revision: 57481f37a9cd686213354476a54cb10f2ab8449f X-VCS-Branch: master Date: Tue, 27 Feb 2018 16:48:36 +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-Archives-Salt: 1f754781-bd93-4270-a381-7d095201cd63 X-Archives-Hash: cbb657cfcd41f254a5fc21f04fdcfc00 commit: 57481f37a9cd686213354476a54cb10f2ab8449f Author: Markus Meier gentoo org> AuthorDate: Tue Feb 27 16:47:34 2018 +0000 Commit: Markus Meier gentoo org> CommitDate: Tue Feb 27 16:47:34 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57481f37 media-libs/lensfun: fix tests to not use installed db, bug #571516 Package-Manager: Portage-2.3.19, Repoman-2.3.6 media-libs/lensfun/lensfun-0.3.2-r1.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/media-libs/lensfun/lensfun-0.3.2-r1.ebuild b/media-libs/lensfun/lensfun-0.3.2-r1.ebuild index 51d279fe342..484e3defb41 100644 --- a/media-libs/lensfun/lensfun-0.3.2-r1.ebuild +++ b/media-libs/lensfun/lensfun-0.3.2-r1.ebuild @@ -45,3 +45,10 @@ src_configure() { cmake-utils_src_configure } + +src_test() { + mkdir -p "${T}/db/lensfun" || die + cp data/db/* "${T}/db/lensfun/" || die + + XDG_DATA_HOME="${T}/db" cmake-utils_src_test +}