So that the dpkg test suite can be skept if desired.
* Few file descriptor cleanup and error handling fixes.
Thanks to Ian Jackson. Closes: #443338
* Move test suite invokation to a new check target in debian/rules.
+ * Add support for nocheck DEB_BUILD_OPTIONS in debian/rules, so that the
+ dpkg test suite can be skept if desired.
[ Raphael Hertzog ]
* Add a warning displayed by dpkg-genchanges if the current version is
check: build
dh_testdir
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
cd build-tree && $(MAKE) check
+endif
# Install the package underneath debian/tmp
install: check