]> git.proxmox.com Git - proxmox-backup.git/commitdiff
buildsys: drop hack that moved testing after dh_install
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 15 Dec 2021 13:25:30 +0000 (14:25 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 15 Dec 2021 13:25:32 +0000 (14:25 +0100)
the motivation for this was that we required to build some stuff with
different feature flags before the big-split when openid (that still
links to the dependency-greedy) got added, to avoid that binaries
that do not use openid at all also got linked to its dependencies.

This is now fixed since a bit and thus we should be able to drop the
test-reorder hack.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile
debian/rules

index 6a38931f6a3f1e205134ec78383846f8178441ea..a29cb2df2d425b8cd2421fdc1b3f26c02dfb5a8c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -221,9 +221,6 @@ install: $(COMPILED_BINS)
            install -m755 $(COMPILEDIR)/$(i) $(DESTDIR)$(LIBEXECDIR)/proxmox-backup/ ;)
        $(MAKE) -C www install
        $(MAKE) -C docs install
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-       $(MAKE) test # HACK, only test now to avoid clobbering build files with wrong config
-endif
 
 .PHONY: upload
 upload: ${SERVER_DEB} ${CLIENT_DEB} ${RESTORE_DEB} ${DOC_DEB} ${DEBUG_DEB}
index 1a00a10034aef2fe6afc67db89ac5484e58ad858..b13ba3348815771199f86c315b8051b250b6d034 100755 (executable)
@@ -32,9 +32,6 @@ override_dh_auto_build:
 override_dh_missing:
        dh_missing --fail-missing
 
-override_dh_auto_test:
-       # ignore here to avoid rebuilding the binaries with the wrong target
-
 override_dh_auto_install:
        dh_auto_install -- \
            PROXY_USER=backup \