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