]> git.proxmox.com Git - pve-installer.git/commitdiff
d/rules: enable dh_auto_test
authorChristoph Heiss <c.heiss@proxmox.com>
Mon, 24 Jul 2023 10:14:50 +0000 (12:14 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 25 Jul 2023 09:19:31 +0000 (11:19 +0200)
Since we now have a test suite (or, at least the TUI installer in this
case), we can enable dh_auto_test so that it will be run on package
builds.

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
Makefile
debian/rules

index 18fdea3f3006de1e2b21fea92d6858578fc83293..dc180b266ace826bb28945bf85319074485904e8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -75,6 +75,9 @@ $(DSC): $(BUILDDIR)
 sbuild: $(DSC)
        sbuild $(DSC)
 
+test:
+       $(CARGO) test --workspace $(CARGO_BUILD_ARGS)
+
 DESTDIR=
 VARLIBDIR=$(DESTDIR)/var/lib/proxmox-installer
 HTMLDIR=$(VARLIBDIR)/html/common
index 6472b32f03295ff6fabda042ff01185a1a9b324d..1c03065080a115c4ad5b15c421c6d8394221d8e3 100755 (executable)
@@ -10,6 +10,3 @@ export BUILD_MODE=release
 
 override_dh_missing:
        dh_missing --fail-missing
-
-override_dh_auto_test:
-       # do nothing here