aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/kdesu/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/kdesu/APKBUILD b/testing/kdesu/APKBUILD
index 504110dc11..228a4391d0 100644
--- a/testing/kdesu/APKBUILD
+++ b/testing/kdesu/APKBUILD
@@ -9,10 +9,11 @@ url="https://community.kde.org/Frameworks"
license="LGPL-2.1-only"
depends_dev="kcoreaddons-dev ki18n-dev kservice-dev kpty-dev"
makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen"
+checkdepends="xvfb-run"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"
# Since the goal of this library is to elevate privileges, suid being needed should be obvious
-options="suid !check" # Tests require X11
+options="suid"
build() {
cmake \
@@ -23,7 +24,7 @@ build() {
}
check() {
- CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+ CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}
package() {