summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-06-18 15:18:04 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-06-18 15:20:21 +0200
commitc7e9d311bc03c7a2b319ffa327a5f50a37b4f269 (patch)
tree2768f13beca6547bbad715ffa35dedec4174f34e /kde-apps/kcontacts
parentx11-terms/mlterm: new upstream release (diff)
downloadgentoo-c7e9d311bc03c7a2b319ffa327a5f50a37b4f269.tar.gz
gentoo-c7e9d311bc03c7a2b319ffa327a5f50a37b4f269.tar.bz2
gentoo-c7e9d311bc03c7a2b319ffa327a5f50a37b4f269.zip
kde-apps/kcontacts: Fix tests
Thanks-to: Jonathan Lovelace <kingjon3377@gmail.com> Gentoo-bug: 608560 Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'kde-apps/kcontacts')
-rw-r--r--kde-apps/kcontacts/kcontacts-17.04.2.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/kde-apps/kcontacts/kcontacts-17.04.2.ebuild b/kde-apps/kcontacts/kcontacts-17.04.2.ebuild
index 6cbb84171ef3..b0fcdf5759c6 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
+}