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:
James Valleroy 2018-10-08 22:57:03 -04:00
parent 7f5749927f
commit 5e13ba0424
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

4
debian/rules vendored
View File

@ -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