From 8b8636f1baa1fb908f59e39822eae218ce76df4d Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Sun, 29 May 2022 13:59:26 -0500 Subject: legacy/kmailtransport: set 'XDG_RUNTIME_DIR' for tests. fixes #751. --- legacy/kmailtransport/APKBUILD | 2 ++ 1 file changed, 2 insertions(+) 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() { -- cgit v1.2.3-70-g09d2