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

Re: [Xen-devel] [PATCH OSSTEST v5 9/9] mfi-common, make-flight: create XSM test jobs



On Tue, Feb 03, 2015 at 01:55:01PM +0000, Ian Jackson wrote:
> Wei Liu writes ("[PATCH OSSTEST v5 9/9] mfi-common, make-flight: create XSM 
> test jobs"):
> > Duplicate Debian PV and HVM test jobs for XSM testing.
> ...
> >  do_hvm_debian_tests() {
> > +  test_xsm=$(xenbranch_xsm_variants)
> 
> This variable needs to have a different name, with a plural init.
> "xsm_variants" perhaps ?  Or "xsms" ?  Ideally the loop control
> variable in the loops would be the singular form of the samename.
> 

Ack.

> > @@ -299,19 +308,26 @@ do_passthrough_tests () {
> >  }
> >  
> >  do_pv_debian_tests () {
> > -  # Basic PV Linux test with xl
> > -  for platform in '' `getplatforms $xenarch` ; do
> 
> This part is quite hard to review.  Can you perhaps provide a `git
> diff -b' ?
> 

Here is "git show -b" of my patch. Nb this patch is different in my tree
from this one posted here because I've modified it to adapt Ian C's and
your suggestions.

 do_pv_debian_tests () {
+  xsms=$(xenbranch_xsm_variants)
+
+  for xsm in $xsms ; do
     # Basic PV Linux test with xl
     for platform in '' `getplatforms $xenarch` ; do
+
+      # xsm test is not platform specific
+      if [ x$xsm = xtrue -a x$platform != x ]; then
+          continue
+      fi
+
       suffix=${platform:+-$platform}
       hostflags=${most_hostflags}${platform:+,platform-$platform}

       job_create_test test-$xenarch$kern-$dom0arch-xl$suffix test-debian xl \
                       $xenarch $dom0arch                                    \
+                      enable_xsm=$xsm                                       \
                       $debian_runvars all_hostflags=$hostflags
     done
+  done

+  for xsm in $xsms ; do
     job_create_test test-$xenarch$kern-$dom0arch-libvirt test-debian libvirt \
                     $xenarch $dom0arch                                       \
+                    enable_xsm=$xsm                                          \
                     $debian_runvars all_hostflags=$most_hostflags
+  done
 }


> Also, I think it could do with some adjustment of the column of the \s
> so that it doesn't get wrap damage when quoted.
> 

Will do.

Wei.

> I think we're going to be relying on the runvars diff in your 0/9 for
> properly checking that this all DTRT.
> 
> Thanks.
> 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®.