diff options
author | Zach van Rijn <me@zv.io> | 2022-05-29 13:59:26 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-06-12 23:51:58 +0000 |
commit | 1dbdfe8ad3e4fcb57269e81f6b527ec2e0863e8a (patch) | |
tree | f2a95311b1b06f9cdebc3d52731d1f816f25314b /legacy/kmailtransport/APKBUILD | |
parent | 61d2c1023f96d0a2ef41b03ab78f1f241e0f281e (diff) | |
download | packages-1dbdfe8ad3e4fcb57269e81f6b527ec2e0863e8a.tar.gz packages-1dbdfe8ad3e4fcb57269e81f6b527ec2e0863e8a.tar.bz2 packages-1dbdfe8ad3e4fcb57269e81f6b527ec2e0863e8a.tar.xz packages-1dbdfe8ad3e4fcb57269e81f6b527ec2e0863e8a.zip |
user/kmailtransport: set 'XDG_RUNTIME_DIR' for tests. fixes #751.
Diffstat (limited to 'legacy/kmailtransport/APKBUILD')
-rw-r--r-- | legacy/kmailtransport/APKBUILD | 2 |
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() { |