From 57481f37a9cd686213354476a54cb10f2ab8449f Mon Sep 17 00:00:00 2001 From: Markus Meier Date: Tue, 27 Feb 2018 17:47:34 +0100 Subject: 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(+) (limited to 'media-libs/lensfun') diff --git a/media-libs/lensfun/lensfun-0.3.2-r1.ebuild b/media-libs/lensfun/lensfun-0.3.2-r1.ebuild index 51d279fe342a..484e3defb415 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 +} -- cgit v1.2.3-65-gdbad