From: Wei Liu Subject: Re: [OSSTEST PATCH 4/4] Insert nested test job name and runvars into Date: Thu, 29 Jan 2015 10:42:00 +0000 Message-ID: <20150129104200.GA20229@zion.uk.xensource.com> References: <1418198860-29802-1-git-send-email-longtaox.pang@intel.com> <1418198860-29802-5-git-send-email-longtaox.pang@intel.com> <20141211114625.GF21659@zion.uk.xensource.com> <9E79D1C9A97CFD4097BCE431828FDD31AD85A7@SHSMSX103.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <9E79D1C9A97CFD4097BCE431828FDD31AD85A7@SHSMSX103.ccr.corp.intel.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: "Hu, Robert" Cc: Wei Liu , "Ian.Campbell@citrix.com" , "Ian.Jackson@eu.citrix.com" , "xen-devel@lists.xen.org" , "Pang, LongtaoX" , "Zheng, Di" List-Id: xen-devel@lists.xenproject.org On Thu, Jan 29, 2015 at 09:57:43AM +0000, Hu, Robert wrote: [...] > > > diff --git a/mfi-common b/mfi-common > > > index 5c4f5d5..b65f0b5 100644 > > > --- a/mfi-common > > > +++ b/mfi-common > > > @@ -166,6 +166,14 @@ create_build_jobs () { > > > revision_qemu=$REVISION_QEMU > > \ > > > revision_qemuu=$REVISION_QEMU_UPSTREAM > > > fi > > > + ./cs-job-create $flight build-$arch-hvm build-kern > > \ > > > + arch=$arch kconfighow=xen-enable-xen-config > > \ > > > + $RUNVARS $BUILD_RUNVARS $BUILD_LINUX_RUNVARS > > $arch_runvars \ > > > + $suite_runvars > > \ > > > + host_hostflags=$build_hostflags > > \ > > > + revision_linux=v3.16 > > \ > > > + > > tree_linux=git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git > > \ > > > > Please don't hard code tree and revision. > > > > You can specify tree and revision in you test configuration. > Can you help more on details regarding to 'test configuration'? Thanks. If you look at other tree_linux= in mfi-common, you can see they are assigned to $TREE_LINUX, which is in fact just a shell variable. There are also other variables that you might be interested in, say revision_linux. If you're using standalone mode, you can specify those variables in .standalone.config then ./standalone-reset. Those trees will then be imported to standalone.db (which is a sqlite3 db) and used during the test. If you're using production mode, I think there is another way to configure that. I've never setup production mode myself so I cannot say for sure. Wei. > > > > Wei. > > > > > + ${TREEVCS_LINUX:+treevcs_linux=}${TREEVCS_LINUX} > > > > > > ./cs-job-create $flight build-$arch-pvops build-kern > > \ > > > arch=$arch kconfighow=xen-enable-xen-config > > \ > > > -- > > > 1.7.10.4