From: "longtao.pang" Subject: [OSSTEST Nested PATCH v7 5/6] Add test job for nest test case Date: Fri, 27 Mar 2015 19:06:26 -0400 Message-ID: <1427497587-22884-6-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 1. This patch adds creation of the nested test job, when job creation procedure is invoked. 2. 'NESTED_OS_IMAGE' is the name of 'Debian ISO Images', which defined in standalone.config. 3. Set nested L1's vif model as e1000 by make-flight. Signed-off-by: longtao.pang --- Changes in v7: Set L1's vif model as e1000 in runvar by make-flight. --- make-flight | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/make-flight b/make-flight index 8ac3a87..b8f266f 100755 --- a/make-flight +++ b/make-flight @@ -204,6 +204,26 @@ do_hvm_win7_x64_tests () { all_hostflags=$most_hostflags,hvm } +do_hvm_debian_nested_tests () { + if [ $xenarch != amd64 ]; then + return + fi + if [ $dom0arch != amd64 ]; then + return + fi + + job_create_test test-$xenarch$kern-$dom0arch-nested test-nested xl \ + $xenarch $dom0arch \ + nested_image=$NESTED_OS_IMAGE \ + nested2_image=$NESTED_OS_IMAGE \ + bios=seabios \ + kernbuildjob=build-amd64-pvops \ + kernkind=pvops \ + nested_vifmodel='e1000' \ + device_model_version=qemu-xen \ + all_hostflags=$most_hostflags,hvm +} + do_hvm_debian_test_one () { testname=$1 bios=$2 @@ -430,6 +450,7 @@ test_matrix_do_one () { done fi + do_hvm_debian_nested_tests do_passthrough_tests } -- 1.7.10.4