[neon/extras/qcoro/Neon/release] debian: Add B-D to run QML and QtQuick tests.

Sandro Knauß null at kde.org
Mon May 22 00:13:37 BST 2023


Git commit df2c77361f9780a463fc9c7335ea780706a3e8cb by Sandro Knauß.
Committed on 27/11/2022 at 20:45.
Pushed by carlosdem into branch 'Neon/release'.

Add B-D to run QML and QtQuick tests.

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

https://invent.kde.org/neon/extras/qcoro/commit/df2c77361f9780a463fc9c7335ea780706a3e8cb

diff --git a/debian/changelog b/debian/changelog
index 82cda8f..b70201b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ qcoro (0.7.0-2) UNRELEASED; urgency=medium
 
   [ Sandro Knauß ]
   * Build QML and QtQuick libs.
+  * Add B-D to run QML and QtQuick tests.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sun, 27 Nov 2022 16:07:34 +0100
 
diff --git a/debian/control b/debian/control
index 36aa214..95c25be 100644
--- a/debian/control
+++ b/debian/control
@@ -13,11 +13,16 @@ Build-Depends: cmake (>= 3.18.4~),
                qt6-base-private-dev,
                qt6-declarative-dev,
                qt6-declarative-private-dev,
+               qml6-module-qtquick <!nocheck>,
+               qml6-module-qtqml-workerscript <!nocheck>,
                libqt6opengl6-dev,
                qtbase5-dev (>= 5.15.0~),
                qtbase5-private-dev,
                qtdeclarative5-dev,
-               qtdeclarative5-private-dev
+               qtdeclarative5-private-dev,
+               qml-module-qtquick-controls <!nocheck>,
+               xauth <!nocheck>,
+               xvfb <!nocheck>
 Standards-Version: 4.6.1
 Vcs-Browser: https://salsa.debian.org/qt-kde-team/extras/qcoro
 Vcs-Git: https://salsa.debian.org/qt-kde-team/extras/qcoro.git
diff --git a/debian/rules b/debian/rules
index 180aa6c..a528be1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,5 +29,6 @@ execute_after_dh_install-indep:
 	rm -r debian/qcoro-doc/usr/share/doc/qcoro-doc/docs/overrides
 
 override_dh_auto_test:
-	dh_auto_test --no-parallel
-	dh_auto_test --no-parallel --builddirectory=build-Qt6
+	xvfb-run -- dh_auto_test --no-parallel
+	sleep 2 # we need to wait for the Xserver to shutdown
+	xvfb-run -- dh_auto_test --no-parallel --builddirectory=build-Qt6



More information about the Neon-commits mailing list