Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] akonadi5: enable tests.
@ 2020-07-22 17:58 ericonr
  2020-07-22 18:13 ` [PR REVIEW] " Johnnynator
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: ericonr @ 2020-07-22 17:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 562 bytes --]

There is a new 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 failing all sqlite tests and 

```
5 - akonadixml-xmldocumenttest (Failed)
42 - mimetypecheckertest (Failed)
95 - AkonadiControl-agenttypetest (Failed)
```

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: 1152 bytes --]

From f0ac3e86c857a414dade4b2d40222d0ccef0fc61 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.
---
 srcpkgs/akonadi5/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/akonadi5/template b/srcpkgs/akonadi5/template
index 587c3757958..c1fdbf7c57f 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,8 @@ pre_build() {
 }
 
 do_check() {
-	: # require dbus
+	cd build
+	QT_QPA_PLATFORM=offscreen dbus-run-session make test
 }
 
 akonadi5-devel_package() {

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-07-28 17:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-22 17:58 [PR PATCH] akonadi5: enable tests 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 ` [PR PATCH] [Updated] " ericonr
2020-07-23 22:34 ` ericonr
2020-07-28 17:29 ` [PR PATCH] [Merged]: " Johnnynator

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).