From: Ian Jackson Subject: [OSSTEST PATCH 06/13] Reporting: sg-report-job-history: Honour --limit Date: Mon, 29 Jun 2015 18:14:42 +0100 Message-ID: <1435598089-21647-7-git-send-email-ian.jackson@eu.citrix.com> References: <1435598089-21647-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Z9cuD-000090-Mk for xen-devel@lists.xenproject.org; Mon, 29 Jun 2015 17:31:41 +0000 In-Reply-To: <1435598089-21647-1-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org The global $limit was erroneously shadowed by a local in processjobbranch. Fix this, and move the erroneously hardcoded value to the global default. No functional change if --limit was not specified, which it is not for any of our runs with the in-tree configs. Signed-off-by: Ian Jackson --- sg-report-job-history | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sg-report-job-history b/sg-report-job-history index aa33f94..82713d3 100755 --- a/sg-report-job-history +++ b/sg-report-job-history @@ -28,7 +28,7 @@ use Osstest::TestSupport; use Osstest::Executive; our (@blessings,@branches); -our $limit= 500; +our $limit= 100; our $htmlout; open DEBUG, ">/dev/null"; @@ -123,7 +123,6 @@ sub processjobbranch ($$) { $cond .= " AND branch = ?"; push @params, $bra; } - my $limit= 100; my $offset= $limit-1; my $fromstuff= <