[pve-devel] [PATCH installer v2 6/6] d/rules: enable dh_auto_test

Christoph Heiss c.heiss at proxmox.com
Mon Jul 24 12:14:50 CEST 2023


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 at proxmox.com>
---
Changes v1 -> v2:
  * New patch in v2

 Makefile     | 3 +++
 debian/rules | 3 ---
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 18fdea3..dc180b2 100644
--- 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
diff --git a/debian/rules b/debian/rules
index 6472b32..1c03065 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,3 @@ export BUILD_MODE=release

 override_dh_missing:
 	dh_missing --fail-missing
-
-override_dh_auto_test:
-	# do nothing here
--
2.41.0






More information about the pve-devel mailing list