commit: c7e9d311bc03c7a2b319ffa327a5f50a37b4f269
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 18 13:18:04 2017 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jun 18 13:20:21 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7e9d311
kde-apps/kcontacts: Fix tests
Thanks-to: Jonathan Lovelace <kingjon3377 <AT> gmail.com>
Gentoo-bug: 608560
Package-Manager: Portage-2.3.5, Repoman-2.3.1
kde-apps/kcontacts/kcontacts-17.04.2.ebuild | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/kde-apps/kcontacts/kcontacts-17.04.2.ebuild
b/kde-apps/kcontacts/kcontacts-17.04.2.ebuild
index 6cbb84171ef..b0fcdf5759c 100644
--- a/kde-apps/kcontacts/kcontacts-17.04.2.ebuild
+++ b/kde-apps/kcontacts/kcontacts-17.04.2.ebuild
@@ -32,3 +32,9 @@ src_prepare() {
-e "/ecm_add_tests/ s/picturetest\.cpp //" \
autotests/CMakeLists.txt || die
}
+
+src_test() {
+ mkdir -p "${HOME}/.local/share/kf5/kcontacts" || die
+ cp "${S}/src/countrytransl.map" "${HOME}/.local/share/kf5/kcontacts/"
|| die
+ kde5_src_test
+}