--- a/debian/rules 2020-06-12 11:53:25.309309926 +0100 --- b/debian/rules 2020-06-12 12:06:42.779552457 +0100 @@ -7,6 +7,9 @@ %: dh $@ --with python3 --buildsystem=pybuild +execute_after_dh_auto_install: + find debian/ -type d -name 'testresults' -print0 | xargs -0r rm -rf + override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) PYBUILDDIR="$$(echo "$(CURDIR)"/.pybuild/cpython3_3.*/build)" \