diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-02 23:42:27 -0300 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-06-03 04:41:06 +0000 |
commit | 25df3e3fdb34178184298ab9d629b27a6a5ab6b7 (patch) | |
tree | 92cddcd59053713ab1aa6ec382153d18f9ba727e /testing/purpose | |
parent | 40243e309c34c157212b302847e0c4de434e12ea (diff) | |
download | aports-25df3e3fdb34178184298ab9d629b27a6a5ab6b7.tar.bz2 aports-25df3e3fdb34178184298ab9d629b27a6a5ab6b7.tar.xz |
testing/purpose: use xvfb-run to run testsuite
Closes GH-8427
Diffstat (limited to 'testing/purpose')
-rw-r--r-- | testing/purpose/APKBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/purpose/APKBUILD b/testing/purpose/APKBUILD index 98fcec3298..115dff55a1 100644 --- a/testing/purpose/APKBUILD +++ b/testing/purpose/APKBUILD @@ -9,9 +9,9 @@ url="https://community.kde.org/Frameworks" license="LGPL-2.1" depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev kcoreaddons-dev ki18n-dev kconfig-dev kio-dev" makedepends="$depends_dev extra-cmake-modules" +checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" -options="!check" # Requires running X11 build() { cmake \ @@ -23,7 +23,8 @@ build() { } check() { - CTEST_OUTPUT_ON_FAILURE=TRUE ctest + # This is 1 of 2 tests + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E 'menutest' } package() { |