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