From: Wei Liu Subject: Re: [OSSTEST PATCH v2 10/12] make-flight: create XSM test jobs Date: Tue, 14 Oct 2014 17:10:34 +0100 Message-ID: <20141014161034.GB29948@zion.uk.xensource.com> References: <1411592677-2632-1-git-send-email-wei.liu2@citrix.com> <1411592677-2632-11-git-send-email-wei.liu2@citrix.com> <21560.655.21802.298278@mariner.uk.xensource.com> <20141013184138.GA8623@zion.uk.xensource.com> <21565.17427.939734.67141@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <21565.17427.939734.67141@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: dgdegra@tycho.nsa.gov, Wei Liu , ian.campbell@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, Oct 14, 2014 at 04:41:07PM +0100, Ian Jackson wrote: > Wei Liu writes ("Re: [OSSTEST PATCH v2 10/12] make-flight: create XSM test jobs"): > > On Fri, Oct 10, 2014 at 05:00:15PM +0100, Ian Jackson wrote: > > [...] > > > > + # xsm tests for versions > 4.4, arch amd64 and armhf > > > > + case "$xenbranch:$xenarch" in > > > > + xen-3.*-testing:*) test_xsm="n";; > > > > + xen-4.0-testing:*) test_xsm="n";; > > > > + xen-4.1-testing:*) test_xsm="n";; > > > > + xen-4.2-testing:*) test_xsm="n";; > > > > + xen-4.3-testing:*) test_xsm="n";; > > > > + xen-4.4-testing:*) test_xsm="n";; > > > > + *:amd64|armhf) test_xsm="n y";; > > > > > > I seem to remember this table appearing in a previous patch in this > > > series, so now you have two copies of it. Please have only one. > > > > I don't think it's right to make have only one. That would mean leaking > > a global variable to another script. > > It doesn't have to mean that. There could be a shell function in > mfi-common. Cf branch_wants_rumpkernel_tests. > I see. I will make a function called xenbranch_wants_xsm_tests. > > It's a bit like test_xend in make-flight v.s. build_defxend in > > mfi-common. I think changing test_xsm to build_xsm in mfi-common may > > make things clearer. > > The xend stuff is different because the two tables have different > contents. (Because of the different defaults in various versions of > Xen.) > > Ian.