On Fri, Jul 28, 2017 at 04:45:20PM +0100, Ian Jackson wrote: > Roger Pau Monne writes ("[PATCH OSSTEST 07/11] ts-freebsd-host-install: add > option to test memdisk options"): > > This is needed in order to figure out which memdisk options should be > > used to boot the images on each specific box. > ... > > +if ($r{'arch'} !~ m/amd64/g) { > > + logm("Arch $r{'arch'} not supported!"); > > This clearly can't be right because presumably at least i386 would > work too. I don't know why you need this check.
Yes, we could test memdisk with i386 also, except that osstest doesn't generate i386 images yet. > > + exit 0; > > WTF ? You don't want ts-freebsd-host-install to exit 0 if it gets an > unknown architecture. > > ... Oh I see. You have misplaced this check, which should only be > effective when we are testing boot arguments. Yes, we cannot test this for ARM (or else it's going to fail and block the other steps of the examine job), that's why it returns 0. So I think this should indeed be conditional on bootonly being set. Roger. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel