From 191902e44d471cbaaf903dac54642ec9114f11f7 Mon Sep 17 00:00:00 2001 From: Leo Date: Mon, 3 Jun 2019 00:17:59 -0300 Subject: testing/kxmlgui: use xvfb-run to run testsuite Closes GH-8432 --- testing/kxmlgui/APKBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/testing/kxmlgui/APKBUILD b/testing/kxmlgui/APKBUILD index 2b8a74bb621..efbdf3377d1 100644 --- a/testing/kxmlgui/APKBUILD +++ b/testing/kxmlgui/APKBUILD @@ -9,9 +9,9 @@ url="https://community.kde.org/Frameworks" license="LGPL-2.1-only AND LGPL-2.1-or-later" depends_dev="qt5-qtbase-dev kcoreaddons-dev kitemviews-dev kconfig-dev kconfigwidgets-dev ki18n-dev kiconthemes-dev ktextwidgets-dev kwidgetsaddons-dev kwindowsystem-dev attica-dev kglobalaccel-dev" makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev" +checkdepends="xvfb-run mesa-dri-swrast" 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 \ @@ -23,7 +23,8 @@ build() { } check() { - CTEST_OUTPUT_ON_FAILURE=TRUE ctest + # 2 out of 5 tests fail + LC_ALL=C CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E '(kxmlgui_unittest|ktoolbar_unittest)' } package() { -- cgit v1.2.3