commit:     923384ceebbb32c6cf9b8120aaff980ff47ff4eb
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 21 20:42:34 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Feb 21 21:07:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=923384ce

kde-apps/incidenceeditor: Disable tests exceeding unix domain socket limit

Bug: https://bugs.gentoo.org/770775
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../incidenceeditor/incidenceeditor-20.12.2.ebuild     | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/kde-apps/incidenceeditor/incidenceeditor-20.12.2.ebuild 
b/kde-apps/incidenceeditor/incidenceeditor-20.12.2.ebuild
index abaf121ed4a..70a6db0af84 100644
--- a/kde-apps/incidenceeditor/incidenceeditor-20.12.2.ebuild
+++ b/kde-apps/incidenceeditor/incidenceeditor-20.12.2.ebuild
@@ -17,7 +17,7 @@ SLOT="5"
 KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
 IUSE=""
 
-DEPEND="
+RDEPEND="
        dev-libs/kdiagram:5
        >=dev-qt/qtdbus-${QTMIN}:5
        >=dev-qt/qtgui-${QTMIN}:5
@@ -52,4 +52,18 @@ DEPEND="
        >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
        >=kde-frameworks/kxmlgui-${KFMIN}:5
 "
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}
+       test? ( >=kde-apps/akonadi-${PVCUT}:5[postgres,sqlite] )
+"
+BDEPEND="
+       test? ( >=kde-apps/akonadi-${PVCUT}:5[tools] )
+"
+
+src_test() {
+       # Paths exceed unix domain socket limit, bug 770775
+       local myctestargs=(
+               -E 
"(akonadi-pgsql-incidencedatetimetest|akonadi-sqlite-incidencedatetimetest)"
+       )
+
+       ecm_src_test
+}

Reply via email to