mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +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:
parent
7f5749927f
commit
5e13ba0424
4
debian/rules
vendored
4
debian/rules
vendored
@ -10,3 +10,7 @@ override_dh_auto_install-indep:
|
|||||||
dh_auto_install
|
dh_auto_install
|
||||||
./run --list-dependencies 2> /dev/null | sort | tr '\n' ', ' | \
|
./run --list-dependencies 2> /dev/null | sort | tr '\n' ', ' | \
|
||||||
sed -e 's/^/plinth:Depends=/' >> debian/plinth.substvars
|
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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user