From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-addons/
Date: Wed, 12 Feb 2025 07:33:33 +0000 (UTC) [thread overview]
Message-ID: <1739345611.d2578f81ea9349cce52ecd61e81fa4b8acb5aa32.sam@gentoo> (raw)
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
next reply other threads:[~2025-02-12 7:33 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-12 7:33 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-10 22:29 [gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-addons/ Andreas Sturmlechner
2024-11-10 22:29 Andreas Sturmlechner
2024-10-05 11:08 Andreas Sturmlechner
2024-10-05 10:28 Andreas Sturmlechner
2024-10-05 10:28 Andreas Sturmlechner
2024-09-12 19:30 Andreas Sturmlechner
2024-08-10 18:53 Andreas Sturmlechner
2024-07-11 16:15 Andreas Sturmlechner
2024-05-17 19:50 Andreas Sturmlechner
2023-02-02 10:30 Andreas Sturmlechner
2022-02-17 19:00 Sam James
2021-04-04 19:21 Andreas Sturmlechner
2020-09-07 15:07 Andreas Sturmlechner
2020-08-18 19:36 Andreas Sturmlechner
2020-04-04 0:41 Andreas Sturmlechner
2019-11-24 23:51 Andreas Sturmlechner
2019-11-22 20:30 Andreas Sturmlechner
2019-09-12 19:42 Andreas Sturmlechner
2019-09-11 8:09 Andreas Sturmlechner
2019-07-21 23:49 Andreas Sturmlechner
2019-04-27 19:08 Andreas Sturmlechner
2018-10-09 7:08 Andreas Sturmlechner
2018-04-12 18:30 Andreas Sturmlechner
2018-04-04 17:41 Andreas Sturmlechner
2018-02-11 22:00 Andreas Sturmlechner
2017-10-29 13:18 Andreas Sturmlechner
2017-09-14 18:08 Andreas Sturmlechner
2017-08-09 0:43 Andreas Sturmlechner
2017-05-23 18:30 Andreas Sturmlechner
2017-04-19 20:57 Andreas Sturmlechner
2017-02-26 8:46 Andreas Sturmlechner
2017-02-25 15:41 Andreas Sturmlechner
2017-02-20 14:57 Andreas Sturmlechner
2017-02-19 10:32 Andreas Sturmlechner
2016-11-13 17:48 Michael Palimaka
2016-10-13 11:41 Michael Palimaka
2016-09-15 18:27 Michael Palimaka
2016-08-21 20:21 Michael Palimaka
2016-07-27 13:19 Michael Palimaka
2016-07-15 11:19 Johannes Huber
2016-06-03 20:56 Johannes Huber
2016-04-07 19:28 Johannes Huber
2016-04-02 16:06 Michael Palimaka
2016-02-23 14:20 Michael Palimaka
2015-12-09 12:13 Michael Palimaka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1739345611.d2578f81ea9349cce52ecd61e81fa4b8acb5aa32.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox