[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [OSSTEST PATCH] make-flight: reorganize scheduling related test jobs



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 <ian.campbell@xxxxxxxxxx>
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 <ian.campbell@xxxxxxxxxx>
---
 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




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.