[neon/qt/qtcreator/Neon/release] debian: really disable all tests

Pino Toscano null at kde.org
Thu May 5 12:51:58 BST 2022


Git commit d4eebff39cce3740e4e5cb992afe9c0f3dbe20fe by Pino Toscano.
Committed on 02/12/2021 at 19:20.
Pushed by jriddell into branch 'Neon/release'.

really disable all tests

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

https://invent.kde.org/neon/qt/qtcreator/commit/d4eebff39cce3740e4e5cb992afe9c0f3dbe20fe

diff --git a/debian/changelog b/debian/changelog
index 99ffd8c..4529834 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,8 @@
 qtcreator (6.0.0-2) UNRELEASED; urgency=medium
 
+  [ Pino Toscano ]
+  * Pass -DWITH_TESTS=OFF -DBUILD_TESTING=OFF to really disable all the tests,
+    including the ones of bundled libraries.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Thu, 02 Dec 2021 20:12:59 +0100
 
diff --git a/debian/rules b/debian/rules
index 7a31622..b552a4e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,6 +31,8 @@ override_dh_auto_configure:
 	dh_auto_configure --buildsystem=cmake -- \
 		-DBUILD_DEVELOPER_DOCS=ON \
 		-DBUILD_QBS=OFF \
+		-DWITH_TESTS=OFF \
+		-DBUILD_TESTING=OFF \
 		-DWITH_DOCS=$(if $(filter qtcreator-doc, $(shell dh_listpackages)),ON,OFF)
 
 execute_after_dh_auto_build-indep:



More information about the Neon-commits mailing list