aboutsummaryrefslogtreecommitdiffstats
path: root/testing/knewstuff/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-02 05:40:53 -0300
committerKevin Daudt <kdaudt@alpinelinux.org>2019-06-02 12:05:35 +0000
commit2133e02eed67c829198e7f575852a07e29b42cec (patch)
treed59911bcab9908d7bcc7617b10326f5ed9a6e7e2 /testing/knewstuff/APKBUILD
parent32c35bb01a3eaa291501f6ae1367a945ba3cd7e3 (diff)
downloadaports-2133e02eed67c829198e7f575852a07e29b42cec.tar.gz
aports-2133e02eed67c829198e7f575852a07e29b42cec.tar.bz2
aports-2133e02eed67c829198e7f575852a07e29b42cec.tar.xz
testing/knewstuff: use xvfb-run to run tests
Closes GH-8384
Diffstat (limited to 'testing/knewstuff/APKBUILD')
-rw-r--r--testing/knewstuff/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/testing/knewstuff/APKBUILD b/testing/knewstuff/APKBUILD
index 25c2fdaf04..a780f00bc8 100644
--- a/testing/knewstuff/APKBUILD
+++ b/testing/knewstuff/APKBUILD
@@ -8,11 +8,13 @@ arch="all"
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-or-later"
depends="kirigami2"
-depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev karchive-dev kcompletion-dev kconfig-dev kcoreaddons-dev ki18n-dev kiconthemes-dev kio-dev kitemviews-dev kservice-dev ktextwidgets-dev kwidgetsaddons-dev kxmlgui-dev"
+depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev karchive-dev kcompletion-dev
+ kconfig-dev kcoreaddons-dev ki18n-dev kiconthemes-dev kio-dev kitemviews-dev
+ kservice-dev ktextwidgets-dev kwidgetsaddons-dev kxmlgui-dev"
makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-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 \
@@ -24,7 +26,7 @@ build() {
}
check() {
- CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+ CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}
package() {