From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1717246-garchives=archives.gentoo.org@lists.gentoo.org> Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 15D0F1582EF for <garchives@archives.gentoo.org>; Wed, 12 Feb 2025 07:33:37 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id ED8453430FB for <garchives@archives.gentoo.org>; Wed, 12 Feb 2025 07:33:36 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id F394A11042D; Wed, 12 Feb 2025 07:33:35 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id EDCB911042D for <gentoo-commits@lists.gentoo.org>; Wed, 12 Feb 2025 07:33:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 71A43343102 for <gentoo-commits@lists.gentoo.org>; Wed, 12 Feb 2025 07:33:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D21D6AF2 for <gentoo-commits@lists.gentoo.org>; Wed, 12 Feb 2025 07:33:33 +0000 (UTC) From: "Sam James" <sam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org> Message-ID: <1739345611.d2578f81ea9349cce52ecd61e81fa4b8acb5aa32.sam@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-addons/ X-VCS-Repository: proj/kde X-VCS-Files: kde-apps/kdepim-addons/kdepim-addons-9999.ebuild X-VCS-Directories: kde-apps/kdepim-addons/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d2578f81ea9349cce52ecd61e81fa4b8acb5aa32 X-VCS-Branch: master Date: Wed, 12 Feb 2025 07:33:33 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 999a71ab-b326-47b1-89a3-11e908aa2061 X-Archives-Hash: 2e4e1ced00fde8d55b135fa88b99b242 commit: d2578f81ea9349cce52ecd61e81fa4b8acb5aa32 Author: Alfred Wingate <parona <AT> protonmail <DOT> com> AuthorDate: Mon Feb 3 20:50:16 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Feb 12 07:33:31 2025 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=d2578f81 kde-apps/kdepim-addons: enable tests Signed-off-by: Alfred Wingate <parona <AT> protonmail.com> Closes: https://github.com/gentoo/kde/pull/1029 Signed-off-by: Sam James <sam <AT> gentoo.org> kde-apps/kdepim-addons/kdepim-addons-9999.ebuild | 25 ++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/kde-apps/kdepim-addons/kdepim-addons-9999.ebuild b/kde-apps/kdepim-addons/kdepim-addons-9999.ebuild index 483f0aeb51..150a859b78 100644 --- a/kde-apps/kdepim-addons/kdepim-addons-9999.ebuild +++ b/kde-apps/kdepim-addons/kdepim-addons-9999.ebuild @@ -7,6 +7,7 @@ ECM_TEST="forceoptional" PVCUT=$(ver_cut 1-3) KFMIN=6.9.0 QTMIN=6.7.2 +VIRTUALDBUS_TEST=1 inherit ecm gear.kde.org optfeature DESCRIPTION="Plugins for KDE Personal Information Management Suite" @@ -15,9 +16,9 @@ HOMEPAGE="https://apps.kde.org/kontact/" LICENSE="GPL-2+ LGPL-2.1+" SLOT="6" KEYWORDS="" -IUSE="activities importwizard markdown" +IUSE="activities importwizard markdown test" -RESTRICT="test" +RESTRICT="!test? ( test )" RDEPEND=" >=app-crypt/gpgme-1.23.1-r1:=[cxx,qt6] @@ -75,6 +76,7 @@ RDEPEND=" markdown? ( app-text/discount:= ) " DEPEND="${RDEPEND}" +BDEPEND="test? ( sys-apps/dbus )" src_configure() { local mycmakeargs=( @@ -84,11 +86,30 @@ src_configure() { -DOPTION_USE_PLASMA_ACTIVITIES=$(usex activities) $(cmake_use_find_package importwizard KPim6ImportWizard) $(cmake_use_find_package markdown Discount) + -DKDEPIM_RUN_AKONADI_TEST=OFF # tests need database software and networking ) ecm_src_configure } +src_test() { + local CMAKE_SKIP_TESTS=( + # Locale differences in date display. + "fancyheaderstyleplugintest" + "grantleeheaderstyleplugintest" + # Comparison files outdated, also affected by changes in other packages. + "messageviewerplugins-rendertest" + # Tests pass but segfault when they exit. + "kdepim-addons-eventedittest" + "messageviewer-dkimauthenticationverifiedserverdialogtest" + # Test pass but get stuck indefinetly afterwards. + "kdepim-addons-todoedittest" + ) + + # tests can get stuck with spawned processes, 4 minutes is a reasonable timeout + ecm_src_test --timeout $(( 60 * 4 )) # seconds +} + pkg_postinst() { if [[ -z "${REPLACING_VERSIONS}" ]]; then optfeature "regex support for Sieve editor plugin" kde-misc/kregexpeditor