[elbe-devel] [PATCH 4/6] debian: run pytest via module
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Mon Jul 15 15:15:16 CEST 2024
Debian bullseye does not provide the executable "pytest".
Call pytest via its module entrypoint through the "python3" executable
which is guaranteed to be available.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 3eda0c9c04ec..565fb9d6248a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ endif
export PYTHONDONTWRITEBYTECODE=1
override_dh_auto_test:
- pytest --junit-xml=junit.xml
+ python3 -m pytest --junit-xml=junit.xml
override_dh_auto_configure:
cd docs && $(MAKE) $(MAKE_OPTS)
--
2.45.2
More information about the elbe-devel
mailing list