aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-03 00:17:59 -0300
committerKevin Daudt <kdaudt@alpinelinux.org>2019-06-03 04:41:08 +0000
commit191902e44d471cbaaf903dac54642ec9114f11f7 (patch)
tree683df5ecb3b38f0538da6bb4a7b4d2bdf309872f
parente44b811a881c5842b3c087bc1d8b55cbfb465664 (diff)
downloadaports-191902e44d471cbaaf903dac54642ec9114f11f7.tar.bz2
aports-191902e44d471cbaaf903dac54642ec9114f11f7.tar.xz
testing/kxmlgui: use xvfb-run to run testsuite
Closes GH-8432
-rw-r--r--testing/kxmlgui/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/kxmlgui/APKBUILD b/testing/kxmlgui/APKBUILD
index 2b8a74bb62..efbdf3377d 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() {