summaryrefslogtreecommitdiff
path: root/legacy
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-10-21 18:34:01 -0500
commit8b8636f1baa1fb908f59e39822eae218ce76df4d (patch)
tree82d6abafd90d907f2cc5eb2f8c3f6fc909b33c32 /legacy
parent27667fa815c01ad5d0a08776ee8e344d553f6e68 (diff)
downloadpackages-8b8636f1baa1fb908f59e39822eae218ce76df4d.tar.gz
packages-8b8636f1baa1fb908f59e39822eae218ce76df4d.tar.bz2
packages-8b8636f1baa1fb908f59e39822eae218ce76df4d.tar.xz
packages-8b8636f1baa1fb908f59e39822eae218ce76df4d.zip
legacy/kmailtransport: set 'XDG_RUNTIME_DIR' for tests. fixes #751.
Diffstat (limited to 'legacy')
-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() {