aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kdesignerplugin
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-02 19:12:04 -0300
committerKevin Daudt <kdaudt@alpinelinux.org>2019-06-03 04:39:38 +0000
commite20879bd72a85cd12aadacd3a8565e780488cfe4 (patch)
tree47ceed07c599d623d7ccababd373538b134ab148 /testing/kdesignerplugin
parent088c623566f251a9f480b1b1d6507924704525cf (diff)
downloadaports-e20879bd72a85cd12aadacd3a8565e780488cfe4.tar.bz2
aports-e20879bd72a85cd12aadacd3a8565e780488cfe4.tar.xz
testing/kdesignerplugin: use xvfb-run to run testsuite
Closes GH-8420
Diffstat (limited to 'testing/kdesignerplugin')
-rw-r--r--testing/kdesignerplugin/APKBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/testing/kdesignerplugin/APKBUILD b/testing/kdesignerplugin/APKBUILD
index 60b916c239..c1ef49ebc9 100644
--- a/testing/kdesignerplugin/APKBUILD
+++ b/testing/kdesignerplugin/APKBUILD
@@ -9,9 +9,9 @@ url="https://community.kde.org/Frameworks"
license="LGPL-2.1-only"
depends_dev="kcoreaddons-dev kconfig-dev kcompletion-dev kconfigwidgets-dev kiconthemes-dev kio-dev kitemviews-dev kplotting-dev ktextwidgets-dev kwidgetsaddons-dev kxmlgui-dev sonnet-dev"
makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev kdoctools-dev"
+checkdepends="xvfb-run"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
-options="!check" # Fails due to requiring running X11
build() {
cmake \
@@ -22,10 +22,9 @@ build() {
}
check() {
- CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+ CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}
-
package() {
DESTDIR="$pkgdir" make install
}