From patchwork Thu Mar 7 15:32:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitri John Ledkov X-Patchwork-Id: 1053052 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ubuntu.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=surgut.co.uk header.i=@surgut.co.uk header.b="ENpCIAsf"; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44FbNP4pV0z9s47; Fri, 8 Mar 2019 03:16:21 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1h1vgt-0001mL-3j; Thu, 07 Mar 2019 16:16:15 +0000 Received: from mail-wr1-f49.google.com ([209.85.221.49]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1h1v0W-0000KP-1Q for kernel-team@lists.ubuntu.com; Thu, 07 Mar 2019 15:32:28 +0000 Received: by mail-wr1-f49.google.com with SMTP id i12so17924635wrw.0 for ; Thu, 07 Mar 2019 07:32:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=surgut.co.uk; s=google; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=j1ub61vBlcuttEyVM0jRMtdyuxJyQKJIDJ59izd/scw=; b=ENpCIAsfd9jTF5lngr/SU15/SHQAO+76QGhZqdwo2IJV/PPj1jE+LfpgJMV5JWBO0V OU/r3tafDSS5DpFKwOeLg2UWj5NKMdCJwKf1z9gwzgz8sKKl+OG4wD2Gle7Svn5KaMOn chVMrdCifiVHhlXEnQw5B/bPu75LQ+HocZbNY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=j1ub61vBlcuttEyVM0jRMtdyuxJyQKJIDJ59izd/scw=; b=N7Vx+XY0yglXdwodAQECISAYoMcdM8C1km7p6yajs8r4ib53fSfOiRhlRM+dpBDScD jBtCH0DnXkrT1lPR/DaKteD2dzb4ndBOLN4oyJ2jhRd9tBnVnshEQDv22YeWPvLV/S5+ XayJK+BdyMdYwXOuF1FWu9c7b6CQbilcbmHfoPhcL7CJVHJxxQm4nVUWlK0Q3XvdhTgT F6pk+eEqAS4FVn1oGwvvjYyFQ3XB9WL5ZdR8Hh0yjAzFweCIia6VBlDLNaPEtnM7ofQ0 6n3PxBWfr2yuMl1C+2Yb35UVeeNrH8qnPHtg47r6/g/5LZBrJfjC/bWwLPJzqvyKVeI/ bnxQ== X-Gm-Message-State: APjAAAVUO8LwHVGLlNBDwuYB0cZMHlvJt0/W8/os/GRfzMv+kSScRxY2 UY/ubNnfStzYVRRPNPy+iT6RTCkQirmo6Q== X-Google-Smtp-Source: APXvYqxDZGtKuL465Q83tpv9NXrJcWoFuWiT2pEpYf78TQg8wugC9EEToVLO9fJStpLzAt6yb2p0jA== X-Received: by 2002:a05:6000:1091:: with SMTP id y17mr7085737wrw.317.1551972746987; Thu, 07 Mar 2019 07:32:26 -0800 (PST) Received: from localhost (103.99.2.81.in-addr.arpa. [81.2.99.103]) by smtp.gmail.com with ESMTPSA id i12sm6108259wrq.21.2019.03.07.07.32.25 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Mar 2019 07:32:26 -0800 (PST) From: Dimitri John Ledkov To: kernel-team@lists.ubuntu.com Subject: [PATCH 2/5] Skip rebuild test, for regression-suite deps. Date: Thu, 7 Mar 2019 15:32:19 +0000 Message-Id: <20190307153222.29255-3-xnox@ubuntu.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190307153222.29255-1-xnox@ubuntu.com> References: <20190307153222.29255-1-xnox@ubuntu.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 07 Mar 2019 16:15:29 +0000 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" --- debian/tests/rebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/tests/rebuild b/debian/tests/rebuild index e8632b5fb1fd..d3f70a041c50 100755 --- a/debian/tests/rebuild +++ b/debian/tests/rebuild @@ -7,7 +7,7 @@ build_needed=0 for trigger in ${ADT_TEST_TRIGGERS:-force} do case "$trigger" in - linux/*|linux-lts-*/*|linux-meta*/*|linux-oem*/*) ;; + linux/*|linux-lts-*/*|linux-meta*/*|linux-oem*/*|fakeroot/*|gdb/*|git/*|bzr/*|gcc-multilib/*) ;; *) build_needed=1 ;; esac done From patchwork Thu Mar 7 15:32:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitri John Ledkov X-Patchwork-Id: 1053049 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ubuntu.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=surgut.co.uk header.i=@surgut.co.uk header.b="AGRmCQbn"; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44FbMl3qhpz9sNk; Fri, 8 Mar 2019 03:15:47 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1h1vgI-0001Xk-Hx; Thu, 07 Mar 2019 16:15:38 +0000 Received: from mail-wr1-f51.google.com ([209.85.221.51]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1h1v0X-0000KV-Pe for kernel-team@lists.ubuntu.com; Thu, 07 Mar 2019 15:32:29 +0000 Received: by mail-wr1-f51.google.com with SMTP id w17so17920697wrn.12 for ; Thu, 07 Mar 2019 07:32:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=surgut.co.uk; s=google; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=l8NEW398ciAdVF3rfER1AY3oo2RhmzRiUpKRCRGyxnk=; b=AGRmCQbnmCSfpxuqtVvatJCtFw6C5I+0YZvw2qC4wR1zYF1Gh/sGUcidwzBUQ0SXsu LdoXM2EeCLpg7lYeNmT2xtI6/3EYH9WnUajViThyiV23ty0H0Yw9upjKB3mT0858t9qM 04XLu9plNpO0X+H1NBo2o4egB9xyL5AbMAJoo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=l8NEW398ciAdVF3rfER1AY3oo2RhmzRiUpKRCRGyxnk=; b=WCCfGMxdYkNsen7OAp/pFlbh4Jxg1mCOy5w2+anAfUNaN4CgAWthA34atjU5+Sbo6T pMrXKkJt4gbjZGgnq1/MLpVDgZkGmh1/X9tmcryhVAT7FLlFUaSIgQHZKH16vbLqqEgG 7TH5wQKSsrUlmPgHDCgOXPg45FJsN/h9Cz3eVNHp0oeZdcld6hEl7HzZ+X/UFGGHxM6A cGZ9KaJU1UfWG8hRLb67MhDbHR10aqwUo+vTr5oOLjYtolGmuV3GghWnLSUH9/lHBL3m 8DZuvZI2YJ38WoHbDZle1dBNJuNumWbn5//69rr2me0Je9aDgL8ypscFpLVDbvNT8nL8 46+Q== X-Gm-Message-State: APjAAAVFg7y7dBjuDLrsuD8QjcFTZ1oLOC0wLHQjncBNXd3Gx1xReHu2 3ULR4RKPKdx7167ousdXO6CKPcssWWpNHw== X-Google-Smtp-Source: APXvYqxwXxZdvPT6gQUmKLn6mngsvT1qK9nznMGL2TZWWOiUwdjisdtdBZXSocs1W31adztoeW/HHw== X-Received: by 2002:a5d:6b07:: with SMTP id v7mr7188757wrw.314.1551972748735; Thu, 07 Mar 2019 07:32:28 -0800 (PST) Received: from localhost (103.99.2.81.in-addr.arpa. [81.2.99.103]) by smtp.gmail.com with ESMTPSA id l5sm5970344wmi.24.2019.03.07.07.32.27 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Mar 2019 07:32:28 -0800 (PST) From: Dimitri John Ledkov To: kernel-team@lists.ubuntu.com Subject: [PATCH 3/5] Make ubuntu-regression-suite skippable on unbootable kernels. Date: Thu, 7 Mar 2019 15:32:20 +0000 Message-Id: <20190307153222.29255-4-xnox@ubuntu.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190307153222.29255-1-xnox@ubuntu.com> References: <20190307153222.29255-1-xnox@ubuntu.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 07 Mar 2019 16:15:29 +0000 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" --- debian/tests/control | 2 +- debian/tests/ubuntu-regression-suite | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/debian/tests/control b/debian/tests/control index d2bd0c54ddb8..ed1e6c8becc5 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -4,4 +4,4 @@ Restrictions: allow-stderr Tests: ubuntu-regression-suite Depends: build-essential, gcc-multilib [amd64 armhf i386], gdb, git, bzr -Restrictions: allow-stderr, isolation-machine, breaks-testbed +Restrictions: allow-stderr, isolation-machine, breaks-testbed, skippable diff --git a/debian/tests/ubuntu-regression-suite b/debian/tests/ubuntu-regression-suite index 1de5ce62563d..b4bb997416a5 100755 --- a/debian/tests/ubuntu-regression-suite +++ b/debian/tests/ubuntu-regression-suite @@ -1,6 +1,17 @@ #!/bin/sh set -e +# Only run regression-suite on kernels we can boot in canonistack +source=`dpkg-parsechangelog -SSource` +case $source in + linux|linux-hwe|linux-kvm|linux-oem) + ;; + *) + echo "ubuntu-regression-suite is pointless, if one cannot boot the kernel" + exit 77 + ;; +esac + sver=`dpkg-parsechangelog -SVersion` read x rver x X-Patchwork-Id: 1053056 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ubuntu.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=surgut.co.uk header.i=@surgut.co.uk header.b="XoK2RgBs"; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44FbY950FTz9sN1; Fri, 8 Mar 2019 03:23:57 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1h1voE-0003g6-V9; Thu, 07 Mar 2019 16:23:50 +0000 Received: from mail-wm1-f52.google.com ([209.85.128.52]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1h1v0Z-0000Kd-GJ for kernel-team@lists.ubuntu.com; Thu, 07 Mar 2019 15:32:31 +0000 Received: by mail-wm1-f52.google.com with SMTP id y15so9717590wma.0 for ; Thu, 07 Mar 2019 07:32:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=surgut.co.uk; s=google; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=S/bbsl4jEd//QQHLkJBhTFcypGXLvexMUE0KWh5gq7o=; b=XoK2RgBsucYpxJJiioriMtA9Cn9tyuYvJg9VCQa90v6K1o88w/a8XZ+IcItDSELD0h fwlJGR87Nn09j4C8U/hPwD5MZi3RuLrcFnAV4QYEBulksVCowYzFAEJnccga1h0fobBR uXC4+t1CusbuHSD+/1aS2HoDOqLD3jJ6zI+AM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=S/bbsl4jEd//QQHLkJBhTFcypGXLvexMUE0KWh5gq7o=; b=BVCGXJ75epfblHg6A2nFm8xNVYrPLPysBjm58U8KwRKQPWmf2pUYJldfPGYr0g/oWO 59S4iCGv1IsNRXlXmZwOJE4ueYfDgt3xwCJ+XAJ9ZgDiExUGo7sT3pczmx6qos+ZvAdB sg3vvuFfwo5EhUfgnogG5Tp2QjqTezJzbQ+WROmQtFz48UNohodpRG9PAxIK6ZbFImiJ 4eO/pQJjURg20dJFe0YrbXWKng9QHAXmOg+vBSK1iieBecN17OoIZaD3l5Enb5a10mAw A+4BhCVdVNE1DvHEE6RkZasw3zU7QGfrVAMFddc8g+cDEi8ovbwyMA0ZAWlwqTcrpVy3 VJ2w== X-Gm-Message-State: APjAAAXn5I3Id3pONnhI14CfS0+gQZtT+vkcAmZNPTVErYBRXtaFQY/a WUvATZXewk8A3HT+5Qmlf92VqkAfSKpG6Q== X-Google-Smtp-Source: APXvYqxb7Pwwkz4Q/r4OW9AsK015dTpL0Op6xzAaBeuypBDmFPucUwsVEOrskRLBT+sgyuK+EQw9jQ== X-Received: by 2002:a7b:c08d:: with SMTP id r13mr6177877wmh.55.1551972750428; Thu, 07 Mar 2019 07:32:30 -0800 (PST) Received: from localhost (103.99.2.81.in-addr.arpa. [81.2.99.103]) by smtp.gmail.com with ESMTPSA id w12sm3334778wrr.67.2019.03.07.07.32.29 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Mar 2019 07:32:29 -0800 (PST) From: Dimitri John Ledkov To: kernel-team@lists.ubuntu.com Subject: [PATCH 4/5] make rebuild use skippable error codes when skipping. Date: Thu, 7 Mar 2019 15:32:21 +0000 Message-Id: <20190307153222.29255-5-xnox@ubuntu.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190307153222.29255-1-xnox@ubuntu.com> References: <20190307153222.29255-1-xnox@ubuntu.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 07 Mar 2019 16:15:29 +0000 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" --- debian/tests/control | 2 +- debian/tests/rebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/tests/control b/debian/tests/control index ed1e6c8becc5..4b80100ceb66 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,6 +1,6 @@ Tests: rebuild Depends: @builddeps@, fakeroot -Restrictions: allow-stderr +Restrictions: allow-stderr, skippable Tests: ubuntu-regression-suite Depends: build-essential, gcc-multilib [amd64 armhf i386], gdb, git, bzr diff --git a/debian/tests/rebuild b/debian/tests/rebuild index d3f70a041c50..365835c92d92 100755 --- a/debian/tests/rebuild +++ b/debian/tests/rebuild @@ -13,7 +13,7 @@ do done if [ "$build_needed" -eq 0 ]; then echo "rebuild: short circuiting build for '${ADT_TEST_TRIGGERS}'" - exit 0 + exit 77 fi set -e From patchwork Thu Mar 7 15:32:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitri John Ledkov X-Patchwork-Id: 1053048 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ubuntu.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=surgut.co.uk header.i=@surgut.co.uk header.b="JPa9p3rA"; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44FbMl4Lzmz9sNs; Fri, 8 Mar 2019 03:15:47 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1h1vgI-0001Xx-TL; Thu, 07 Mar 2019 16:15:38 +0000 Received: from mail-wm1-f50.google.com ([209.85.128.50]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1h1v0a-0000Kk-Ro for kernel-team@lists.ubuntu.com; Thu, 07 Mar 2019 15:32:32 +0000 Received: by mail-wm1-f50.google.com with SMTP id z84so9677483wmg.4 for ; Thu, 07 Mar 2019 07:32:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=surgut.co.uk; s=google; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bNxAmTyaYEJD86o9Ej12ctUw+vMtABTF57mFwEYsSMg=; b=JPa9p3rAU7SZqjN+AZdkeyUCKwoN2/reovNQK0Qok13wx0w4bHOOcoOR9Ri7aiKEw8 d+/6Yrqw36mxYWFgAPW/Lfw4h3fBs17EzmM2wCTOHGzsBjcnotrN/fywS/jcweD1PE/t wKxWWcpOgMRaHB37MO8px0Tu9p6fjS3uSzoPY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=bNxAmTyaYEJD86o9Ej12ctUw+vMtABTF57mFwEYsSMg=; b=W+jDJ59HFM+ARKMlNuK6D+bL6nMmP8E66YwaYOlVBzan0Z/8KurhWyMmt82CeIkPEr 1mLTLw7vKPd3cbKBvA+BlnpVXaIFCquEyliqk0ZeyNwtdstOq7/EUKrCtWUjtVTnTezG TtRf4nn3byjkBj5Q4cLELzq2v31vnxBUD2DuHlYYqH6maMF/cwQEqZtZcx0ldyGTnDTD VkbntOFZA+hD+MigHEhCieafwhghNi5ZENl8P28pSmVTbwlV6rtgAE5efSuc+hMLztTR JigKE1eiUf71X9CLV4J5zoCqARFsWJp6vo7vdsjVxj/3DunMqOw9Tm9F/OeJqebvl9T6 fywQ== X-Gm-Message-State: APjAAAXM9rY6lr5LpCdnh82PxQtrb/p7HzClNJBM7DCWlX/XCtqIT4Q2 2nWCQNkH3mQccsaANdy4XVQY0DucgXPnVw== X-Google-Smtp-Source: APXvYqy8icH97X+fguhh30/whw4tWegQHHr+aWdAkT9YLYTKeIoq8wgF4xdIzJvvb9S+JyxDFO5pPQ== X-Received: by 2002:a1c:3c02:: with SMTP id j2mr6343112wma.72.1551972751756; Thu, 07 Mar 2019 07:32:31 -0800 (PST) Received: from localhost (103.99.2.81.in-addr.arpa. [81.2.99.103]) by smtp.gmail.com with ESMTPSA id c10sm2163977wrr.1.2019.03.07.07.32.30 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Mar 2019 07:32:31 -0800 (PST) From: Dimitri John Ledkov To: kernel-team@lists.ubuntu.com Subject: [PATCH 5/5] Only run regression-suite, if requested to. Date: Thu, 7 Mar 2019 15:32:22 +0000 Message-Id: <20190307153222.29255-6-xnox@ubuntu.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190307153222.29255-1-xnox@ubuntu.com> References: <20190307153222.29255-1-xnox@ubuntu.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 07 Mar 2019 16:15:29 +0000 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" --- debian/tests/ubuntu-regression-suite | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/debian/tests/ubuntu-regression-suite b/debian/tests/ubuntu-regression-suite index b4bb997416a5..952d38cc9331 100755 --- a/debian/tests/ubuntu-regression-suite +++ b/debian/tests/ubuntu-regression-suite @@ -12,6 +12,21 @@ case $source in ;; esac +# Only run regression-suite if we were requested to +have_meta=0 +for trigger in ${ADT_TEST_TRIGGERS} +do + case "$trigger" in + linux-meta/*|linux-meta-*/*) + have_meta=1 + ;; + esac +done +if [ -n "$ADT_TEST_TRIGGERS" ] && [ "$have_meta" -eq 0 ]; then + echo "ubuntu-regression-suite is not requested, as there is no linux-meta trigger" + exit 77 +fi + sver=`dpkg-parsechangelog -SVersion` read x rver x