From e20879bd72a85cd12aadacd3a8565e780488cfe4 Mon Sep 17 00:00:00 2001 From: Leo Date: Sun, 2 Jun 2019 19:12:04 -0300 Subject: [PATCH] testing/kdesignerplugin: use xvfb-run to run testsuite Closes GH-8420 --- testing/kdesignerplugin/APKBUILD | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/testing/kdesignerplugin/APKBUILD b/testing/kdesignerplugin/APKBUILD index 60b916c239c..c1ef49ebc99 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 }