[neon/extras/kdiff3/Neon/release] debian: unit tests need a display
Pino Toscano
null at kde.org
Wed Sep 7 17:06:13 BST 2022
Git commit e4f6a2e2632b57b33cf7cc477717fe21f28a6088 by Pino Toscano.
Committed on 15/08/2021 at 14:59.
Pushed by jriddell into branch 'Neon/release'.
unit tests need a display
M +3 -0 debian/changelog
M +2 -0 debian/control
M +3 -0 debian/rules
https://invent.kde.org/neon/extras/kdiff3/commit/e4f6a2e2632b57b33cf7cc477717fe21f28a6088
diff --git a/debian/changelog b/debian/changelog
index 0681cad..444f361 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,9 @@ kdiff3 (1.9.2-0r1) UNRELEASED; urgency=medium
- drop libkf5iconthemes-dev
* Update the patches:
- libatomic.diff: refresh/update
+ * There are unit tests that require a display, so:
+ - add the xauth, and xvfb build dependencies
+ - run dh_auto_test with xvfb-run
-- Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org> Sun, 15 Aug 2021 16:34:07 +0200
diff --git a/debian/control b/debian/control
index 5f4d7f6..e0c89dc 100644
--- a/debian/control
+++ b/debian/control
@@ -19,6 +19,8 @@ Build-Depends: debhelper-compat (= 13),
libkf5parts-dev (>= 5.37.0~),
libkf5widgetsaddons-dev (>= 5.37.0~),
libboost-dev (>= 1.66.0~),
+ xauth,
+ xvfb,
Standards-Version: 4.5.1
Rules-Requires-Root: no
Homepage: https://kde.org/applications/development/kdiff3
diff --git a/debian/rules b/debian/rules
index b18f7e8..809b7e0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,9 @@
%:
dh $@ --with kf5
+override_dh_auto_test:
+ xvfb-run -a dh_auto_test
+
execute_after_dh_auto_install:
# drop translations of Windows-only component
rm debian/tmp/usr/share/locale/*/LC_MESSAGES/diff_ext.mo
More information about the Neon-commits
mailing list