Skip to content
Snippets Groups Projects
Commit 47e200cc authored by Leo's avatar Leo Committed by Kevin Daudt
Browse files

testing/kcrash: use xvfb-run to run kcrashtest test

Closes GH-8417
parent 032a6b74
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@ url="https://community.kde.org/Frameworks"
license="LGPL-2.1-or-later"
depends_dev="kcoreaddons-dev kwindowsystem-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"
......@@ -22,8 +23,7 @@ build() {
}
check() {
# kcrashtest requires X11 to be running
CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E '(kcrashtest)'
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}
package() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment