[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 1/3] Move collectversions from ts-xen-build into Osstest::BuildSupport
On Wed, 2016-02-03 at 09:46 +0000, Ian Campbell wrote: These 3 should all have been tagged "OSSTEST v2", sorry for the omission. > I'm going to have a need for it elsewhere. > > Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> > --- > ÂOsstest/BuildSupport.pm | 12 ++++++++++++ > Âts-xen-buildÂÂÂÂÂÂÂÂÂÂÂÂ| 13 +------------ > Â2 files changed, 13 insertions(+), 12 deletions(-) > > diff --git a/Osstest/BuildSupport.pm b/Osstest/BuildSupport.pm > index 933f6e1..a183546 100644 > --- a/Osstest/BuildSupport.pm > +++ b/Osstest/BuildSupport.pm > @@ -42,6 +42,7 @@ BEGIN { > Â > ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂxendist > ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ$xendist > +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂcollect_xen_built_versions > Â > ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂsubmodulefixup submodule_have submodule_find > Â > @@ -84,6 +85,17 @@ sub xendist () { > Â ($ho, 'xendist', '', $r{"buildjob"}); > Â} > Â > +sub collect_xen_built_versions () { > +ÂÂÂÂmy $tools="$builddir/xen/tools"; > +ÂÂÂÂmy $extras="$builddir/xen/extras"; > +ÂÂÂÂstore_revision($ho, 'qemu', "$tools/ioemu-dir", 1); > +ÂÂÂÂstore_revision($ho, 'qemu', "$tools/qemu-xen-traditional-dir", 1); > +ÂÂÂÂstore_revision($ho, 'qemuu', "$tools/qemu-xen-dir", 1); > +ÂÂÂÂstore_revision($ho, 'seabios', "$tools/firmware/seabios-dir", 1); > +ÂÂÂÂstore_revision($ho, 'ovmf', "$tools/firmware/ovmf-dir", 1); > +ÂÂÂÂstore_revision($ho, 'minios', "$extras/mini-os", 1); > +} > + > Â#----- submodules ----- > Â > Âsub submodulefixup ($$$$) { > diff --git a/ts-xen-build b/ts-xen-build > index 8f92729..382fe62 100755 > --- a/ts-xen-build > +++ b/ts-xen-build > @@ -151,17 +151,6 @@ END > ÂÂÂÂÂ} > Â} > Â > -sub collectversions () { > -ÂÂÂÂmy $tools="$builddir/xen/tools"; > -ÂÂÂÂmy $extras="$builddir/xen/extras"; > -ÂÂÂÂstore_revision($ho, 'qemu', "$tools/ioemu-dir", 1); > -ÂÂÂÂstore_revision($ho, 'qemu', "$tools/qemu-xen-traditional-dir", 1); > -ÂÂÂÂstore_revision($ho, 'qemuu', "$tools/qemu-xen-dir", 1); > -ÂÂÂÂstore_revision($ho, 'seabios', "$tools/firmware/seabios-dir", 1); > -ÂÂÂÂstore_revision($ho, 'ovmf', "$tools/firmware/ovmf-dir", 1); > -ÂÂÂÂstore_revision($ho, 'minios', "$extras/mini-os", 1); > -} > - > Âsub divide () { > ÂÂÂÂÂ# Only move hv to xeninstall, so that we can have > ÂÂÂÂÂ# xenpolicy in tools tarball. > @@ -248,7 +237,7 @@ sub trapping ($) { > Âcheckout(); > Â > Âtrapping(\&build); > -trapping(\&collectversions); > +trapping(\&collect_xen_built_versions); > Â > Âdie "*** something failed:\n\n".(join "\n\n",@probs)."\n** something > failed" > ÂÂÂÂÂif @probs; _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |