projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c6d92e
)
media-libs/lensfun: fix tests to not use installed db, bug #571516
author
Markus Meier
<maekke@gentoo.org>
Tue, 27 Feb 2018 16:47:34 +0000
(17:47 +0100)
committer
Markus Meier
<maekke@gentoo.org>
Tue, 27 Feb 2018 16:47:34 +0000
(17:47 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6
media-libs/lensfun/lensfun-0.3.2-r1.ebuild
patch
|
blob
|
history
diff --git
a/media-libs/lensfun/lensfun-0.3.2-r1.ebuild
b/media-libs/lensfun/lensfun-0.3.2-r1.ebuild
index 51d279fe342ae8efa5ec31bc56c140e0b38365ae..484e3defb41562f6215859e08fb588ab63d0a799 100644
(file)
--- 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
+}