aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-02 07:35:29 -0300
committerKevin Daudt <kdaudt@alpinelinux.org>2019-06-02 12:05:35 +0000
commit19d0ac77cf43247b9cd45a2cc10ffab2bd1ec6ac (patch)
tree43e796957e3d1664eb16f4660dee9152161629b9
parent5e8b9362c290249811ea85aed89d137b36c08cc3 (diff)
downloadaports-19d0ac77cf43247b9cd45a2cc10ffab2bd1ec6ac.tar.bz2
aports-19d0ac77cf43247b9cd45a2cc10ffab2bd1ec6ac.tar.xz
testing/kdesu: use xvfb-run to run testsuite
Closes GH-8387
-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() {