[neon/backports-jammy/libsdl2/Neon/unstable] debian: don't build tests

Carlos De Maine null at kde.org
Sat Nov 11 02:27:20 GMT 2023


Git commit bf531ab5d3bde3e4abc332f4babf7dd8e67cee23 by Carlos De Maine.
Committed on 11/11/2023 at 03:27.
Pushed by carlosdem into branch 'Neon/unstable'.

don't build tests

M  +22   -22   debian/rules

https://invent.kde.org/neon/backports-jammy/libsdl2/-/commit/bf531ab5d3bde3e4abc332f4babf7dd8e67cee23

diff --git a/debian/rules b/debian/rules
index 923eacf..7b36056 100755
--- a/debian/rules
+++ b/debian/rules
@@ -119,17 +119,17 @@ override_dh_auto_build-indep:
 override_dh_installexamples-indep:
 	dh_installexamples -i --doc-main-package=libsdl2-doc
 
-override_dh_auto_build-arch: build-library build-tests
+override_dh_auto_build-arch: build-library 
 override_dh_auto_build-indep: build-library
 build-library:
 	dh_auto_build -- V=1
-build-tests:
-	dh_auto_build \
-		--buildsystem=autoconf \
-		--sourcedirectory=$(CURDIR)/test \
-		--builddirectory=$(CURDIR)/debian/build-tests \
-		-- \
-		V=1
+#build-tests:
+#	dh_auto_build \
+#		--buildsystem=autoconf \
+#		--sourcedirectory=$(CURDIR)/test \
+#		--builddirectory=$(CURDIR)/debian/build-tests \
+#		-- \
+#		V=1
 
 
 override_dh_auto_clean-indep:
@@ -138,15 +138,15 @@ override_dh_auto_clean-indep:
 	rm -f debian/examples.tar.gz
 	rm -rf docs/output
 
-override_dh_auto_test-arch:
-	dh_auto_test
-	LD_LIBRARY_PATH=$(CURDIR)/build/.libs \
-	dh_auto_test \
-		--buildsystem=autoconf \
-		--sourcedirectory=$(CURDIR)/test \
-		--builddirectory=$(CURDIR)/debian/build-tests \
-		-- \
-		V=1
+#override_dh_auto_test-arch:
+#	dh_auto_test
+#	LD_LIBRARY_PATH=$(CURDIR)/build/.libs \
+#	dh_auto_test \
+#		--buildsystem=autoconf \
+#		--sourcedirectory=$(CURDIR)/test \
+#		--builddirectory=$(CURDIR)/debian/build-tests \
+#		-- \
+#		V=1
 
 override_dh_auto_install-arch:
 	dh_auto_install -- V=1
@@ -159,11 +159,11 @@ override_dh_auto_install-arch:
 
 # debhelper >= 13.4 makes all of /usr/libexec executable, which is not
 # quite right for installed-tests
-override_dh_fixperms:
-	dh_fixperms -Xusr/libexec/installed-tests
-ifneq ($(filter %-tests,$(built_binaries)),)
-	chmod --recursive --changes a+rX,u+w,og-w debian/libsdl2-tests/usr/libexec/installed-tests
-endif
+#override_dh_fixperms:
+#	dh_fixperms -Xusr/libexec/installed-tests
+#ifneq ($(filter %-tests,$(built_binaries)),)
+#	chmod --recursive --changes a+rX,u+w,og-w debian/libsdl2-tests/usr/libexec/installed-tests
+#endif
 
 override_dh_install:
 	mkdir -p debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/SDL2


More information about the Neon-commits mailing list