From: "longtao.pang" Subject: [OSSTEST Nested PATCH v7 6/6] Compose the main recipe of nested test job Date: Fri, 27 Mar 2015 19:06:27 -0400 Message-ID: <1427497587-22884-7-git-send-email-longtaox.pang@intel.com> References: <1427497587-22884-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: <1427497587-22884-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, "longtao.pang" , Ian.Jackson@eu.citrix.com, Ian.Campbell@citrix.com, robert.hu@intel.com List-Id: xen-devel@lists.xenproject.org Signed-off-by: longtao.pang --- Changes in v7: Add 'ts-guest-stop' and 'ts-guest-destroy' scripts to shutdown L2 and L1 after finishing test. --- sg-run-job | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sg-run-job b/sg-run-job index a1ff24b..be55da8 100755 --- a/sg-run-job +++ b/sg-run-job @@ -297,6 +297,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 + nested + run-ts . = ts-nested-setup + host + nested + run-ts . = ts-xen-install nested_l1 + run-ts . = ts-host-reboot nested_l1 + run-ts . = ts-debian-hvm-install nested_l1 nested2 + run-ts . = ts-guest-stop nested_l1 nested2 + run-ts . = ts-guest-destroy host nested +} + proc test-guest-migr {g} { if {[catch { run-ts . = ts-migrate-support-check + host $g }]} return -- 1.7.10.4