Skip to content
Snippets Groups Projects
Commit 6cc6157d authored by Ondřej Nový's avatar Ondřej Nový
Browse files

Use pybuild for running tests

parent 1dafe803
No related merge requests found
......@@ -9,5 +9,6 @@ export PYBUILD_NAME=pygerrit2
dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_auto_test:
for py in $$(pyversions -r 2>/dev/null) ; do echo "Testing with $$py:" ; $$py unittests.py; done
for py in $$(py3versions -r 2>/dev/null) ; do echo "Testing with $$py:" ; $$py unittests.py; done
PYBUILD_SYSTEM=custom \
PYBUILD_TEST_ARGS="{interpreter} unittests.py" \
dh_auto_test
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment