summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--legacy/kmailtransport/APKBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy/kmailtransport/APKBUILD b/legacy/kmailtransport/APKBUILD
index 3b80ed99d..dc531b704 100644
--- a/legacy/kmailtransport/APKBUILD
+++ b/legacy/kmailtransport/APKBUILD
@@ -33,7 +33,9 @@ build() {
check() {
# Akonadi tests require D-Bus.
+ export XDG_RUNTIME_DIR=$(mktemp -d)
QT_QPA_PLATFORM=offscreen CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E 'akonadi-*'
+ rm -fr "${XDG_RUNTIME_DIR}"
}
package() {