All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <Ian.Campbell@citrix.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: Dario Faggioli <dario.faggioli@citrix.com>,
	Wei Liu <wei.liu2@citrix.com>,
	xen-devel@lists.xen.org
Subject: Re: [OSSTEST PATCH] make-flight: reorganize scheduling related test jobs
Date: Thu, 15 Jan 2015 09:31:35 +0000	[thread overview]
Message-ID: <1421314295.19103.300.camel@citrix.com> (raw)
In-Reply-To: <21686.40877.290697.536197@mariner.uk.xensource.com>

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@citrix.com>
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@citrix.com>
---
 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

  reply	other threads:[~2015-01-15  9:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-08 17:47 [OSSTEST PATCH] make-flight: reorganize scheduling related test jobs Dario Faggioli
2015-01-12 16:52 ` Ian Jackson
2015-01-13 14:15   ` Dario Faggioli
2015-01-14 16:56     ` Ian Jackson
2015-01-15  9:31       ` Ian Campbell [this message]
2015-01-15 11:10         ` Ian Jackson
2015-01-15 11:15           ` Ian Campbell
2015-01-20 15:39       ` Dario Faggioli
2015-01-20 15:54         ` Ian Jackson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1421314295.19103.300.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=dario.faggioli@citrix.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.