summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2018-02-27 17:47:34 +0100
committerMarkus Meier <maekke@gentoo.org>2018-02-27 17:47:34 +0100
commit57481f37a9cd686213354476a54cb10f2ab8449f (patch)
tree279f59c8193f0d591501b9dc2a074fbb2d8cb856 /media-libs/lensfun
parentwww-servers/pshs: Bump to 0.3.3 (diff)
downloadgentoo-57481f37a9cd686213354476a54cb10f2ab8449f.tar.gz
gentoo-57481f37a9cd686213354476a54cb10f2ab8449f.tar.bz2
gentoo-57481f37a9cd686213354476a54cb10f2ab8449f.zip
media-libs/lensfun: fix tests to not use installed db, bug #571516
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-libs/lensfun')
-rw-r--r--media-libs/lensfun/lensfun-0.3.2-r1.ebuild7
1 files changed, 7 insertions, 0 deletions
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
+}