From: ericonr <ericonr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] akonadi5: enable tests.
Date: Thu, 23 Jul 2020 09:11:39 +0200 [thread overview]
Message-ID: <20200723071139.MlORTW58pjpHhX-txF6jdJ9PVYH6k8LlOcA4c_CG40k@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23741@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 646 bytes --]
There is an updated pull request by ericonr against master on the void-packages repository
https://github.com/ericonr/void-packages akonadi
https://github.com/void-linux/void-packages/pull/23741
akonadi5: enable tests.
Tests require D-Bus, so it's necessary to run them with dbus-run-session.
@Chocimier it's hanging on all sqlite tests and failing the ones below:
```
5 - akonadixml-xmldocumenttest (Failed)
42 - mimetypecheckertest (Failed)
95 - AkonadiControl-agenttypetest (Failed)
```
Perhaps @Johnnynator has some suggestion for it?
A patch file from https://github.com/void-linux/void-packages/pull/23741.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-akonadi-23741.patch --]
[-- Type: text/x-diff, Size: 1374 bytes --]
From c6d44db47762b6b70cf9c932918fe4a9aa952451 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Wed, 22 Jul 2020 14:54:22 -0300
Subject: [PATCH] akonadi5: enable tests.
Tests require D-Bus, so it's necessary to run them with
dbus-run-session. Specific failing tests are disabled.
---
srcpkgs/akonadi5/template | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/akonadi5/template b/srcpkgs/akonadi5/template
index 587c3757958..6543ca37c14 100644
--- a/srcpkgs/akonadi5/template
+++ b/srcpkgs/akonadi5/template
@@ -11,6 +11,7 @@ makedepends="qt5-devel qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql
kdbusaddons-devel kiconthemes-devel kitemmodels-devel kio-devel sqlite-devel
kaccounts-integration-devel libaccounts-qt5-devel qt5-tools-devel"
depends="shared-mime-info"
+checkdepends="dbus ${depends}"
short_desc="PIM layer providing an asynchronous API to access PIM data"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
@@ -44,7 +45,11 @@ pre_build() {
}
do_check() {
- : # require dbus
+ # failing tests are disabled - sqlite tests hang on futex
+ cd build
+ QT_QPA_PLATFORM=offscreen CTEST_OUTPUT_ON_FAILURE=TRUE \
+ dbus-run-session ctest -E \
+ "(akonadixml-xmldocument|mimetypechecker|AkonadiControl-agenttype|.*sqlite.*)test"
}
akonadi5-devel_package() {
next prev parent reply other threads:[~2020-07-23 7:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-22 17:58 [PR PATCH] " ericonr
2020-07-22 18:13 ` [PR REVIEW] " Johnnynator
2020-07-22 18:13 ` Johnnynator
2020-07-22 18:26 ` ericonr
2020-07-22 18:29 ` [PR PATCH] [Updated] " ericonr
2020-07-22 18:34 ` [PR REVIEW] " ericonr
2020-07-22 18:38 ` ericonr
2020-07-23 7:11 ` ericonr [this message]
2020-07-23 22:34 ` ericonr
2020-07-28 17:29 ` [PR PATCH] [Merged]: " Johnnynator
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=20200723071139.MlORTW58pjpHhX-txF6jdJ9PVYH6k8LlOcA4c_CG40k@z \
--to=ericonr@users.noreply.github.com \
--cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).