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

Re: [Xen-devel] [OSSTEST PATCH 7/9] standalone-generate-dump-flight-runvars: New utility



On Mon, 2014-06-30 at 10:59 +0100, Ian Jackson wrote:
> Ian Campbell writes ("Re: [OSSTEST PATCH 7/9] 
> standalone-generate-dump-flight-runvars: New utility"):
> > On Fri, 2014-06-27 at 17:58 +0100, Ian Jackson wrote:
> > > +    DAILY_BRANCH_POSTMAKE_HOOK='exit 0' \
> > 
> > standalone make-flight sets DAILY_BRANCH_PREEXEC_HOOK, I think with the
> > same intent. Your one exits earlier but I can't think why we wouldn't
> > want that to be the default 
> 
> Well, it generates half of the prospective email.  I assumed you'd
> left that in deliberately.  If you want to change that, that's fine by
> me (and I should add a patch to my series to do so).

I just didn't fully understand the flow of cr-daily-branch at that
point. I don't think half the prospective email is a useful thing to
have in standalone mode, except insofar as it is useful to test that
code itself.

> > > +    ./standalone make-flight -f $flight $branch >$log 2>&1 &
> > > +    procs+=" $branch=$!"
> > 
> > Don't some branches have things in them which aren't valid in shell
> > variable names? e.g. "-" and ".".
> 
> It's not a variable setting; it's just a convenient syntax to be
> picked apart by "perproc".

Ah, I somehow imagined up an eval in there somewhere, sorry.

>   (If the script had the bug you suppose
> it wouldn't have worked at all...)

I wasn't sure if you'd only run it branches which happened to not have -
in them (e.g. rumpkernels), if not than than I was indeed wondering how
it worked for you...

Ian.


_______________________________________________
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®.