From mboxrd@z Thu Jan 1 00:00:00 1970 From: "longtao.pang" Subject: [OSSTEST Nested PATCH v9 8/9] Compose the main recipe of nested test job Date: Sat, 2 May 2015 14:28:17 +0800 Message-ID: <1430548098-5233-9-git-send-email-longtaox.pang@intel.com> References: <1430548098-5233-1-git-send-email-longtaox.pang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1430548098-5233-1-git-send-email-longtaox.pang@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: xen-devel@lists.xen.org Cc: wei.liu2@citrix.com, longtaox.pang@intel.com, Ian.Jackson@eu.citrix.com, Ian.Campbell@citrix.com, robert.hu@intel.com List-Id: xen-devel@lists.xenproject.org From: "longtao.pang" The ident and guestname are same of 'nestedl1' for L1 guest VM. Signed-off-by: longtao.pang --- Changes in v9: 1. For L1, identical its ident and guestname as 'nestedl1'; And same for L2, 'nestedl2' is L2's name as well as its ident. 2. Place '+' to include parameters in the test id for ts-guest-destory step. --- sg-run-job | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sg-run-job b/sg-run-job index eae159d..b19f9f9 100755 --- a/sg-run-job +++ b/sg-run-job @@ -299,6 +299,17 @@ proc run-job/test-pair {} { # run-ts . remus-failover ts-remus-check src_host dst_host + debian } +proc need-hosts/test-nested {} {return host} +proc run-job/test-nested {} { + run-ts . = ts-debian-hvm-install + host + nestedl1 + run-ts . = ts-nested-setup + host + nestedl1 + run-ts . = ts-xen-install nestedl1 + run-ts . = ts-host-reboot nestedl1 + run-ts . = ts-debian-hvm-install nestedl1 nestedl2 + run-ts . = ts-guest-stop nestedl1 nestedl2 + run-ts . = ts-guest-destroy + host + nestedl1 +} + proc test-guest-migr {g} { if {[catch { run-ts . = ts-migrate-support-check + host $g }]} return -- 1.7.10.4