[neon/qt/qtscxml/Neon/release] debian: Make the new QML test pass.

Dmitry Shachnev null at kde.org
Wed Oct 19 14:21:05 BST 2022


Git commit 803aeb8de65c3cb620dbe2b10b1c0bb301cfbf67 by Dmitry Shachnev.
Committed on 30/07/2022 at 18:46.
Pushed by jriddell into branch 'Neon/release'.

Make the new QML test pass.

- Build-depend on qml-module-qttest.
- Pass LD_LIBRARY_PATH and QML2_IMPORT_PATH when running tests.

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

https://invent.kde.org/neon/qt/qtscxml/commit/803aeb8de65c3cb620dbe2b10b1c0bb301cfbf67

diff --git a/debian/changelog b/debian/changelog
index fee399e..69be7a0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,9 @@ qtscxml-everywhere-src (5.15.5-1) UNRELEASED; urgency=medium
   * Bump Qt build-dependencies to 5.15.5.
   * Bump ABI version to 5-15-5.
   * Update debian/copyright.
+  * Make the new QML test pass:
+    - Build-depend on qml-module-qttest.
+    - Pass LD_LIBRARY_PATH and QML2_IMPORT_PATH when running tests.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sun, 03 Jul 2022 16:44:44 +0300
 
diff --git a/debian/control b/debian/control
index 6481190..c6876fd 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Uploaders: Scarlett Moore <sgmoore at kde.org>,
            Lisandro Damián Nicanor Pérez Meyer <lisandro at debian.org>
 Build-Depends: debhelper-compat (= 13),
                pkg-kde-tools,
+               qml-module-qttest (>= 5.15.5+dfsg~),
                qtbase5-dev (>= 5.15.5+dfsg~),
                qtbase5-private-dev (>= 5.15.5+dfsg~),
                qtdeclarative5-dev (>= 5.15.5+dfsg~),
diff --git a/debian/rules b/debian/rules
index 8f3c220..d8d68e8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,6 +27,7 @@ override_dh_auto_install-arch:
 
 override_dh_auto_test-arch:
 	xvfb-run -a -s "-screen 0 1024x768x24 +extension GLX" \
-		dh_auto_test -- -Ctests/auto
+		dh_auto_test -- -Ctests/auto \
+		LD_LIBRARY_PATH=$(CURDIR)/lib QML2_IMPORT_PATH=$(CURDIR)/qml
 
 override_dh_auto_test-indep:



More information about the Neon-commits mailing list