[neon/extras/ktechlab] debian: disable build of tests

Pino Toscano null at kde.org
Thu Sep 8 15:56:01 BST 2022


Git commit 3e6bdab3de6b804855aa2c3732efe7a13a63cdb8 by Pino Toscano.
Committed on 02/11/2020 at 12:17.
Pushed by jriddell into branch 'master'.

disable build of tests

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

https://invent.kde.org/neon/extras/ktechlab/commit/3e6bdab3de6b804855aa2c3732efe7a13a63cdb8

diff --git a/debian/changelog b/debian/changelog
index 7449164..defc023 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,9 @@ ktechlab (0.50.0-2) UNRELEASED; urgency=medium
   * Backport upstream commit f3a754ddcbc8a086ca48920bd33e96082cef699c to not
     build a test-only static libraries when testing is disabled; patch
     upstream_cmake-build-test_ktechlab-only-if-testing-is-enabled.patch.
+  * Disable the build of testing stuff, as there are no unit tests available:
+    - pass -DBUILD_TESTING=OFF to cmake
+    - add an empty override for dh_auto_test
 
  -- Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>  Thu, 29 Oct 2020 21:49:14 +0100
 
diff --git a/debian/rules b/debian/rules
index 28858f7..d0118eb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,8 @@
 
 %:
 	dh $@ --with kf5
+
+override_dh_auto_configure:
+	dh_auto_configure -Skf5 -- -DBUILD_TESTING=OFF
+
+override_dh_auto_test:



More information about the Neon-commits mailing list