Respect nocheck in DEB_BUILD_OPTIONS, again.

This commit is contained in:
Stefano Rivera 2021-06-06 19:52:14 -04:00
parent ef100f6166
commit c0546396bf
2 changed files with 6 additions and 0 deletions

4
debian/changelog vendored
View File

@ -1,5 +1,6 @@
ubuntu-dev-tools (0.182) UNRELEASED; urgency=medium
[ Dan Streetman ]
* syncpackage, ubuntutools/archive.py:
Don't save dsc file to disk until requested with pull()
(LP: #1928946)
@ -10,6 +11,9 @@ ubuntu-dev-tools (0.182) UNRELEASED; urgency=medium
* ubuntutools/archive.py: Fix flake8 test failure
* d/rules, d/control: Override build tests to use flake8 and nosetests3
[ Stefano Rivera ]
* Respect nocheck in DEB_BUILD_OPTIONS, again.
-- Dan Streetman <ddstreet@canonical.com> Fri, 04 Jun 2021 12:19:29 -0400
ubuntu-dev-tools (0.181) unstable; urgency=medium

2
debian/rules vendored
View File

@ -6,8 +6,10 @@ override_dh_auto_clean:
rm -rf .tox
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
flake8 -v --max-line-length=99 --extend-exclude=ubuntu-archive-assistant,ubuntu_archive_assistant
nosetests3 -v ubuntutools
endif
%:
dh $@ --with python3 --buildsystem=pybuild