[neon/qt/qbs/Neon/release] debian: disable tests and drop related patches

Carlos De Maine null at kde.org
Fri Apr 28 09:51:29 BST 2023


Git commit 349e6989ab44f0cc093940ef0dd9c0f2e195352a by Carlos De Maine.
Committed on 28/04/2023 at 08:51.
Pushed by carlosdem into branch 'Neon/release'.

disable tests and drop related patches

M  +0    -4    debian/patches/series
M  +2    -20   debian/rules

https://invent.kde.org/neon/qt/qbs/commit/349e6989ab44f0cc093940ef0dd9c0f2e195352a

diff --git a/debian/patches/series b/debian/patches/series
index d0f6390..34adca7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,7 +1,3 @@
-disable_tests_qtscript.diff
-skip_test_concurrent.diff
-test_sanitizers_only_on_amd64.diff
 no_nosys_specs.diff
-disable_bad_assembly.diff
 asan_atomic.diff
 s390x_jscore.diff
diff --git a/debian/rules b/debian/rules
index 14d457a..fe8ce06 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,8 +17,8 @@ override_dh_auto_clean:
 override_dh_auto_configure:
 	dh_auto_configure -- \
 		-DQBS_ENABLE_RPATH=no \
-		-DWITH_TESTS=yes \
-		-DWITH_UNIT_TESTS=yes \
+		-DWITH_TESTS=no \
+		-DWITH_UNIT_TESTS=no \
 		-DQBS_INSTALL_PREFIX=/usr \
 		-DQBS_LIB_INSTALL_DIR=lib/${DEB_HOST_MULTIARCH} \
 		-DQBS_PLUGINS_INSTALL_BASE=lib/${DEB_HOST_MULTIARCH} \
@@ -30,7 +30,6 @@ override_dh_auto_build-arch:
 	dh_auto_build -- -C src
 ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
 	dh_auto_build -- -C share
-	dh_auto_build -- -C tests
 endif
 
 override_dh_auto_install-arch:
@@ -44,20 +43,3 @@ override_dh_auto_build-indep:
 override_dh_auto_install-indep:
 	dh_auto_install --no-parallel -- -C doc
 	dh_auto_install -- -C share
-
-override_dh_auto_test-arch:
-ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
-	set -ex; \
-		export LD_LIBRARY_PATH=$(BUILDPATH)/lib/${DEB_HOST_MULTIARCH}:$$LD_LIBRARY_PATH; \
-		export HOME=$(CURDIR)/debian/.debhelper/generated/_source/home; \
-		export QBS_AUTOTEST_PROFILE=qbs_autotests; \
-		export QBS_AUTOTEST_ALWAYS_LOG_STDOUT=1; \
-		export QBS_AUTOTEST_ALWAYS_LOG_STDERR=1; \
-		$(BUILDPATH)/bin/qbs-setup-toolchains /usr/bin/gcc gcc; \
-		$(BUILDPATH)/bin/qbs-setup-qt /usr/bin/qmake6 qbs_autotests; \
-		[ -n "`$(BUILDPATH)/bin/qbs-config --list profiles.qbs_autotests.baseProfile`" ] || \
-			$(BUILDPATH)/bin/qbs-config profiles.qbs_autotests.baseProfile gcc; \
-		LC_ALL=C.UTF-8 dh_auto_test --max-parallel=1
-endif
-
-override_dh_auto_test-indep:


More information about the Neon-commits mailing list