summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-05-29 13:59:26 -0500
committerZach van Rijn <me@zv.io>2022-06-12 23:51:58 +0000
commit1dbdfe8ad3e4fcb57269e81f6b527ec2e0863e8a (patch)
treef2a95311b1b06f9cdebc3d52731d1f816f25314b
parent61d2c1023f96d0a2ef41b03ab78f1f241e0f281e (diff)
downloadpackages-1dbdfe8ad3e4fcb57269e81f6b527ec2e0863e8a.tar.gz
packages-1dbdfe8ad3e4fcb57269e81f6b527ec2e0863e8a.tar.bz2
packages-1dbdfe8ad3e4fcb57269e81f6b527ec2e0863e8a.tar.xz
packages-1dbdfe8ad3e4fcb57269e81f6b527ec2e0863e8a.zip
user/kmailtransport: set 'XDG_RUNTIME_DIR' for tests. fixes #751.
-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() {