commit: 8a3d844d2be309aa840147c0a361f400e6ba07f9 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Jun 18 13:18:50 2017 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sun Jun 18 13:20:01 2017 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=8a3d844d
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.49.9999.ebuild | 6 ++++++ kde-apps/kcontacts/kcontacts-9999.ebuild | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/kde-apps/kcontacts/kcontacts-17.04.49.9999.ebuild b/kde-apps/kcontacts/kcontacts-17.04.49.9999.ebuild index 9376152d96..77ddf551a6 100644 --- a/kde-apps/kcontacts/kcontacts-17.04.49.9999.ebuild +++ b/kde-apps/kcontacts/kcontacts-17.04.49.9999.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 +} diff --git a/kde-apps/kcontacts/kcontacts-9999.ebuild b/kde-apps/kcontacts/kcontacts-9999.ebuild index 9376152d96..77ddf551a6 100644 --- a/kde-apps/kcontacts/kcontacts-9999.ebuild +++ b/kde-apps/kcontacts/kcontacts-9999.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 +}