[Git][xorg-team/wayland/weston][debian-unstable] 2 commits: d/rules, d/tests: Re-use configure flags from debian/rules

Dylan Aïssi (@daissi) <[email protected]>
Newsgroups gmane.linux.debian.devel.x
Message-ID <[email protected]>

Dylan Aïssi pushed to branch debian-unstable at X Strike Force / wayland / weston


Commits:
ad3bc1b8 by Alessandro Astone at 2026-04-10T09:21:08+02:00
d/rules, d/tests: Re-use configure flags from debian/rules

In debian/rules we may disable broken features depending on architecture,
such as the vulkan renderer on armhf. Use the same flags so that we avoid
testing known-broken features at autopkgtest time.

LP: #2147650

- - - - -
4e970ab0 by Alessandro Astone at 2026-04-10T09:21:08+02:00
d/tests: Give tests a name

- - - - -


2 changed files:

- debian/rules
- debian/tests/control


Changes:

=====================================
debian/rules
=====================================
@@ -1,5 +1,6 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/default.mk
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 ifneq (,$(filter sparc64,$(DEB_HOST_ARCH)))


=====================================
debian/tests/control
=====================================
@@ -1,6 +1,7 @@
 # Upstream testsuite is not yet installable, see
 # https://gitlab.freedesktop.org/wayland/weston/-/issues/368
-Test-Command: dh_auto_configure; dh_auto_build; dh_auto_test
+Test-Command: debian/rules override_dh_auto_configure; dh_auto_build; dh_auto_test
+Features: test-name=build-and-test
 Depends: @builddeps@
 Restrictions: allow-stderr
 Architecture: amd64 arm64 armel armhf i386 ppc64el riscv64
@@ -8,7 +9,8 @@ Architecture: amd64 arm64 armel armhf i386 ppc64el riscv64
 # Tests fail on some Architectures, see:
 # https://gitlab.freedesktop.org/wayland/weston/-/issues/739
 # but run them as flaky for now.
-Test-Command: dh_auto_configure; dh_auto_build; dh_auto_test
+Test-Command: debian/rules override_dh_auto_configure; dh_auto_build; dh_auto_test
+Features: test-name=build-and-test-flaky
 Depends: @builddeps@
 Restrictions: allow-stderr, flaky
 Architecture: !amd64 !arm64 !armel !armhf !i386 !ppc64el !riscv64



View it on GitLab: https://salsa.debian.org/xorg-team/wayland/weston/-/compare/f085ab2c8677820cc698a18c6fb808ca2540da3d...4e970ab03c1f5558e63a2956c33f21a286538e6f

-- 
View it on GitLab: https://salsa.debian.org/xorg-team/wayland/weston/-/compare/f085ab2c8677820cc698a18c6fb808ca2540da3d...4e970ab03c1f5558e63a2956c33f21a286538e6f
You're receiving this email because of your account on salsa.debian.org.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.