[neon/neon-packaging/marknote/debian/experimental] debian: Use xvfb for tests.

Vincent Pinon null at kde.org
Sat Aug 17 21:25:26 BST 2024


Git commit bc2fe3fd367213824d183ecc41e7ae2c22c50b70 by Vincent Pinon.
Committed on 17/08/2024 at 19:47.
Pushed by vpinon into branch 'debian/experimental'.

Use xvfb for tests.

M  +1    -0    debian/changelog
M  +2    -0    debian/control
M  +6    -3    debian/rules

https://invent.kde.org/neon/neon-packaging/marknote/-/commit/bc2fe3fd367213824d183ecc41e7ae2c22c50b70

diff --git a/debian/changelog b/debian/changelog
index 9db8a17..6e8632e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ marknote (1.3.0-1) UNRELEASED; urgency=medium
   [ Vincent Pinon ]
   * Import package from Neon to Debian (experimental).
   * Update b-d to Debian names.
+  * Use xvfb for tests.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Fri, 16 Aug 2024 15:28:51 +0200
 
diff --git a/debian/control b/debian/control
index 66b9da4..abcafd6 100644
--- a/debian/control
+++ b/debian/control
@@ -18,6 +18,8 @@ Build-Depends: cmake,
                libkmime-dev (>= 24.05.2),
                qt6-base-dev,
                qt6-svg-dev,
+               xauth <!nocheck>,
+               xvfb <!nocheck>,
 Standards-Version: 4.6.2
 Homepage: http://www.kde.org
 Vcs-Browser: https://invent.kde.org/office/marknote
diff --git a/debian/rules b/debian/rules
index 49552b2..4a86eae 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,9 @@
 #!/usr/bin/make -f
-# SPDX-License-Identifier: LGPL-2.0-or-later
-# # SPDX-FileCopyrightText: 2023 Jonathan Riddell <jr at jriddell.org>
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all reproducible=-fixfilepath
 
 %:
-	dh $@ --with kf6 --buildsystem kf6
+	dh $@
+
+override_dh_auto_test:
+	xvfb-run -a dh_auto_test



More information about the Neon-commits mailing list