From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [OSSTEST PATCH] make-flight: reorganize scheduling related test jobs Date: Thu, 15 Jan 2015 09:31:35 +0000 Message-ID: <1421314295.19103.300.camel@citrix.com> References: <20150108174702.12031.23149.stgit@Abyss.station> <21683.64481.485332.543728@mariner.uk.xensource.com> <1421158549.26034.191.camel@Abyss.station> <21686.40877.290697.536197@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21686.40877.290697.536197@mariner.uk.xensource.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: Ian Jackson Cc: Dario Faggioli , Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, 2015-01-14 at 16:56 +0000, Ian Jackson wrote: > Dario Faggioli writes ("Re: [OSSTEST PATCH] make-flight: reorganize scheduling related test jobs"): > > On Mon, 2015-01-12 at 16:52 +0000, Ian Jackson wrote: > > > This looks plausible but can you include the output of a diff between > > > the two sets of runvars, please ? > ... > > I will put down here a diff of two invocation of > > `./mg-show-flight-runvars standalone', one done before the other after > > the patch... Was it that? > > That's what I meant, exactly. But looking at it shows that it would > benefit from being the output of > ./mg-show-flight-runvars standalone | sort FWIW I've often thought that mg-show-flight-runvars sorts on the wrong column, at least for the majority of my use cases. 8<------------------ >>From 5eedcbb7f635d63176824c2c7c274260ec11cfa2 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Thu, 15 Jan 2015 09:30:45 +0000 Subject: [PATCH] mg-show-flight-runvars: sort by job before name Signed-off-by: Ian Campbell --- mg-show-flight-runvars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mg-show-flight-runvars b/mg-show-flight-runvars index 62d5cba..d243466 100755 --- a/mg-show-flight-runvars +++ b/mg-show-flight-runvars @@ -52,7 +52,7 @@ my @colws = $dbh_tests->selectrow_array ("SELECT ".(join ',', map { "max(length($_))" } @cols)." $qfrom"); my $q = $dbh_tests->prepare - ("SELECT ".(join ',', @cols)." $qfrom ORDER BY name, job"); + ("SELECT ".(join ',', @cols)." $qfrom ORDER BY job, name"); $q->execute(); while (my $row = $q->fetchrow_arrayref()) { -- 2.1.1