nocheck handling is fixed with debhelper >= 13.
authorSandro Knauß <hefee@debian.org>
Sun, 5 Jan 2025 21:02:52 +0000 (22:02 +0100)
committerSandro Knauß <hefee@debian.org>
Sun, 5 Jan 2025 21:02:52 +0000 (22:02 +0100)
debian/rules

index f694530c773d34545629d478b324e8719217df27..ba3efa0635acd66d9a8a6c0f4186e430f6d0ab89 100755 (executable)
@@ -24,15 +24,11 @@ override_dh_auto_configure:
                -DEXTERNAL_VERSION=$(DEB_VERSION)
 
 override_dh_auto_test-arch:
-ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
        mkdir -p obj-$(DEB_HOST_GNU_TYPE)/config
        - LC_ALL=C.UTF-8 XDG_CONFIG_HOME=$(CURDIR)/obj-$(DEB_HOST_GNU_TYPE)/config xvfb-run -a \
               -s "-screen 0 1024x768x24 +extension RANDR +extension RENDER +extension GLX" \
               -- dh_auto_test --no-parallel
        rm -r obj-$(DEB_HOST_GNU_TYPE)/config
-else
-       @echo "** tests disabled"
-endif
 
 override_dh_auto_test-indep: