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

index a70cd8fb9b50caa6c2a33f80ee9023991bd2f3f7..a2b369745fc70ac40be63c7a3f9f1ef2a1e757a0 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_PROFILES),autopkgtest)
+ifneq ($(filter autopkgtest,$(DEB_BUILD_PROFILES)),)
 flavours := $(firstword $(flavours))
 endif