Przeglądaj źródła

Add support for nocheck DEB_BUILD_OPTIONS in debian/rules

So that the dpkg test suite can be skept if desired.
Guillem Jover 18 lat temu
rodzic
commit
f8906919e1
2 zmienionych plików z 4 dodań i 0 usunięć
  1. 2 0
      debian/changelog
  2. 2 0
      debian/rules

+ 2 - 0
debian/changelog

@@ -32,6 +32,8 @@ dpkg (1.14.17) UNRELEASED; urgency=low
   * 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

+ 2 - 0
debian/rules

@@ -66,7 +66,9 @@ build: build-tree/config.status
 check: build
 	dh_testdir
 
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	cd build-tree && $(MAKE) check
+endif
 
 # Install the package underneath debian/tmp
 install: check