From c0546396bf3682a17941473824bc962e7f1ad9c2 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Sun, 6 Jun 2021 19:52:14 -0400 Subject: [PATCH] Respect nocheck in DEB_BUILD_OPTIONS, again. --- debian/changelog | 4 ++++ debian/rules | 2 ++ 2 files changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index 3cf33f0..44964d7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Fri, 04 Jun 2021 12:19:29 -0400 ubuntu-dev-tools (0.181) unstable; urgency=medium diff --git a/debian/rules b/debian/rules index abcbf1e..8de7b4c 100755 --- a/debian/rules +++ b/debian/rules @@ -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