[elbe-devel] [PATCH 05/10] debian: use pytest during debuild
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Mon Mar 11 18:02:58 CET 2024
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
debian/control | 3 ++-
debian/rules | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 5c02fa646658..d88b78fcf228 100644
--- a/debian/control
+++ b/debian/control
@@ -33,7 +33,8 @@ Build-Depends: debhelper-compat (= 12),
python3-apt,
python3-gpg,
python3-libvirt,
- python3-passlib
+ python3-passlib,
+ python3-pytest
Standards-Version: 3.9.6
Rules-Requires-Root: no
Homepage: http://elbe-rfs.org
diff --git a/debian/rules b/debian/rules
index 0cd58fd8cd26..33e2e481f43b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
endif
override_dh_auto_test:
- SQLALCHEMY_SILENCE_UBER_WARNING=1 ./elbe test
+ SQLALCHEMY_SILENCE_UBER_WARNING=1 pytest --junit-xml=junit.xml
override_dh_auto_configure:
cd docs && $(MAKE) $(MAKE_OPTS)
--
2.44.0
More information about the elbe-devel
mailing list