diff options
Diffstat (limited to 'testing/kxmlgui')
-rw-r--r-- | testing/kxmlgui/APKBUILD | 5 |
1 files 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() { |