Re: [Xen-devel] [PATCH OSSTEST] Arrange to test migration from the previous Xen version

2015-07-24 Thread Ian Campbell
On Fri, 2015-07-24 at 16:04 +0100, Ian Jackson wrote: > Ian Campbell writes ("Re: [PATCH OSSTEST] Arrange to test migration from > the previous Xen version"): > > The first branch in ./mg-list-all-branches is xen-4.0-testing and hence > > the > > first thing supported by select_prevxenbranch is x

Re: [Xen-devel] [PATCH OSSTEST] Arrange to test migration from the previous Xen version

2015-07-24 Thread Ian Jackson
Ian Campbell writes ("Re: [PATCH OSSTEST] Arrange to test migration from the previous Xen version"): > On Fri, 2015-07-24 at 14:55 +0100, Ian Jackson wrote: > > Maybe these patterns should be "xen-" ? In case someone invents a > > tree `xenblargle'. > > > > Hrm, I see you took the example of ap-

Re: [Xen-devel] [PATCH OSSTEST] Arrange to test migration from the previous Xen version

2015-07-24 Thread Ian Jackson
Ian Campbell writes ("Re: [PATCH OSSTEST] Arrange to test migration from the previous Xen version"): > The first branch in ./mg-list-all-branches is xen-4.0-testing and hence the > first thing supported by select_prevxenbranch is xen-4.1-testing. So > perhaps the following delta would be a good id

Re: [Xen-devel] [PATCH OSSTEST] Arrange to test migration from the previous Xen version

2015-07-24 Thread Ian Campbell
On Fri, 2015-07-24 at 14:55 +0100, Ian Jackson wrote: > Ian Campbell writes ("[PATCH OSSTEST] Arrange to test migration from the > previous Xen version"): > > There are several steps to this: > > Thanks. Much of this is very elegant. Thank you, the building blocks are very flexible! > > +selec

Re: [Xen-devel] [PATCH OSSTEST] Arrange to test migration from the previous Xen version

2015-07-24 Thread Ian Campbell
On Fri, 2015-07-24 at 14:25 +0100, Ian Campbell wrote: > > +branch_wants_migrupgrade_tests () { > + case "$branch" in > +xen*) return 0;; > +*) return 1 ;; > + esac > +} The first branch in ./mg-list-all-branches is xen-4.0-testing and hence the first thing supported by select_prevxenbr

Re: [Xen-devel] [PATCH OSSTEST] Arrange to test migration from the previous Xen version

2015-07-24 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST] Arrange to test migration from the previous Xen version"): > There are several steps to this: Thanks. Much of this is very elegant. > +select_prevxenbranch () { > + local b > + local p > + for b in $(./mg-list-all-branches) ; do # already sorted

[Xen-devel] [PATCH OSSTEST] Arrange to test migration from the previous Xen version

2015-07-24 Thread Ian Campbell
There are several steps to this: - Identify $prevxenbranch, that is the branch which precedes $xenbranch. - Create appropriate build jobs. - Add support in ts-xen-install for overriding {xen,}buildjob on a per-ident basis - Add a new receipt test-pair-oneway which only migrates from src_host