]> err.no Git - dpkg/commitdiff
Move test suite invokation to a new check target in debian/rules
authorGuillem Jover <guillem@debian.org>
Sat, 22 Mar 2008 05:07:26 +0000 (07:07 +0200)
committerGuillem Jover <guillem@debian.org>
Sat, 22 Mar 2008 05:07:26 +0000 (07:07 +0200)
debian/changelog
debian/rules

index 22a4cf0704e5951163d1a09c460d905972be36be..489e9b05e82b15e5afe1c654aab6f91a4e2603bd 100644 (file)
@@ -31,6 +31,7 @@ dpkg (1.14.17) UNRELEASED; urgency=low
     Thanks to Ian Jackson. Closes: #386210
   * 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.
 
   [ Raphael Hertzog ]
   * Add a warning displayed by dpkg-genchanges if the current version is
index 73855d8c523c3e56f17e7b629be21d929bd8618b..31a442826d35adab560bd0bf2961bbd7872b5791 100755 (executable)
@@ -61,10 +61,15 @@ build: build-tree/config.status
        dh_testdir
 
        cd build-tree && $(MAKE)
+
+# Run the test suites
+check: build
+       dh_testdir
+
        cd build-tree && $(MAKE) check
 
 # Install the package underneath debian/tmp
-install: build
+install: check
        dh_testdir
        dh_testroot
        dh_clean -k
@@ -133,4 +138,4 @@ clean:
        dh_clean
 
 
-.PHONY: build install binary-arch binary-indep binary clean
+.PHONY: build check install binary-arch binary-indep binary clean