]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
UBUNTU: [Packaging] tests -- reduce rebuild test to one flavour
authorAndy Whitcroft <apw@canonical.com>
Fri, 21 Jul 2017 15:13:15 +0000 (16:13 +0100)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 5 Sep 2017 12:34:21 +0000 (07:34 -0500)
BugLink: http://bugs.launchpad.net/bugs/1705495
Signed-off-by: Andy Whitcroft <apw@canonical.com>
debian/rules
debian/tests/rebuild

index 7f67744e184b1b96acc596a44980883cb0880ddf..a70cd8fb9b50caa6c2a33f80ee9023991bd2f3f7 100755 (executable)
@@ -82,7 +82,7 @@ do_any_tools=$(sort $(filter-out false,$(do_linux_tools) $(do_cloud_tools)))
 
 # autopkgtest -- rebuild support
 #  only build the first flavour on the assumption it is representative
-ifeq ($(DEB_BUILD_PROFILE),autopkgtest)
+ifeq ($(DEB_BUILD_PROFILES),autopkgtest)
 flavours := $(firstword $(flavours))
 endif
 
index 6f73b36c1b5edb52af690243780e6c839f9ec1ba..81491565a4518ed5644135a7552c688a21e5890b 100644 (file)
@@ -17,4 +17,4 @@ if [ "$build_needed" -eq 0 ]; then
 fi
 
 set -e
-dpkg-buildpackage -rfakeroot -us -uc -b
+dpkg-buildpackage -rfakeroot -us -uc -b -Pautopkgtest