Commit aa7e3ea3 authored by Pino Toscano's avatar Pino Toscano

run testsuite at build time

parent abf47f70
......@@ -6,6 +6,11 @@ kdeclarative (5.51.0-2) UNRELEASED; urgency=medium
* Remove the 'testsuite' autopkgtest, as it does not test the package
available in the archive.
* Update lintian overrides.
* Run the unit tests at build time:
- add the qml-module-qtquick2, xauth, and xvfb build dependencies
- run xvfb-run with the proper arguments
- do not run the tests in parallel, since some of them conflict with each
other
-- Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Wed, 26 Dec 2018 18:02:53 +0100
......
......@@ -22,10 +22,13 @@ Build-Depends: cmake (>= 3.0~),
libqt5sql5-sqlite,
pkg-config,
pkg-kde-tools (>= 0.15.15ubuntu1~),
qml-module-qtquick2,
qtbase5-dev (>= 5.8.0~),
qtdeclarative5-dev (>= 5.8.0~),
qtscript5-dev (>= 5.6),
qttools5-dev-tools,
xauth,
xvfb,
Standards-Version: 4.1.4
Homepage: https://projects.kde.org/projects/frameworks/kdeclarative
Vcs-Browser: https://salsa.debian.org/qt-kde-team/kde/kdeclarative
......
......@@ -13,5 +13,6 @@ override_dh_strip:
dh_strip --dbgsym-migration='libkf5declarative5-dbg (<= 5.19.0-1~~)'
override_dh_auto_test:
# Disable dh_auto_test at build time
:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
xvfb-run -a --server-args="-screen 0 1024x768x24+32" dh_auto_test --no-parallel
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment