Update debian/rules for tests during build

This commit is contained in:
Nicolas Dandrimont 2017-10-11 17:46:46 +02:00
parent 3aaa2d1ed8
commit a0d35c4a25

7
debian/rules vendored
View file

@ -1,12 +1,7 @@
#!/usr/bin/make -f
export PYBUILD_NAME=swh-lister
export PYBUILD_TEST_ARGS=--with-doctest -sv -a !db,!fs swh/lister
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_test:
PYBUILD_SYSTEM=custom \
PYBUILD_TEST_ARGS="cd {build_dir}; python{version} -m nose swh -sv" \
dh_auto_test