mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
debian: Use 'setup.py test' to run tests
Since pytest is a build-depend, pybuild uses it by default. Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 file changed
+4
Vendored
+4
@@ -10,3 +10,7 @@ override_dh_auto_install-indep:
|
||||
dh_auto_install
|
||||
./run --list-dependencies 2> /dev/null | sort | tr '\n' ', ' | \
|
||||
sed -e 's/^/plinth:Depends=/' >> debian/plinth.substvars
|
||||
|
||||
override_dh_auto_test:
|
||||
PYBUILD_SYSTEM=custom \
|
||||
PYBUILD_TEST_ARGS="{interpreter} setup.py test" dh_auto_test
|
||||
Reference in new issue
Block a user