From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Liu Subject: [PATCH V4 00/12] OSSTest: OVMF test job Date: Fri, 21 Mar 2014 16:14:14 +0000 Message-ID: <1395418466-6997-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: 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 Liu , ian.jackson@eu.citrix.com, ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org This series implements a basic test job for OVMF guest. The test case will install an OVMF guest and try to boot it. With some more refactoring this series is several patches more than the last round. Lots of code is extracted from ts-redhat-install and put into TestSupport.pm. I don't have necessary setup to run ts-redhat-install, but ts-debian-hvm-install passes a run so I assume my refactoring correct and won't break ts-redhat-install. This series was tested with OSSTest standalone mode: $ sg-run-job build-amd64 $ OSSTEST_HOST_REUSE=1 sg-run-job build-amd64-pvops $ JOBNAME=standalone ts-debain-hvm-install host=cam-st12 Wei. Changes in v4: * rebase on top of master branch * ditch genisoimage and switch to xorriso * factor out even more common code Changes in v3: * consolidate more config items into preseed_base * ts-ovmf-debian-install -> ts-debian-hvm-install * factor out functions to create ISOs. * $xl -> $toolstack in test case script Changes in v2: * factor out preseed_base * make installation CD work with seabios Wei Liu (12): TestSupport.pm: add bios option to guest config file TestSupport.pm: introduce create_iso_xorriso for creating isos TestSupport.pm: move rewrite_config_nocd to support library TestSupport.pm: introduce guest_create ts-redhat-install: use $flight, $job and $gn when creating iso TestSupport.pm: introduce create_empty_iso TestSupport.pm: introduce iso_gen_flags_basic TestSupport.pm: introduce copy_iso_content_to_dir Debian.pm: factor out preseed_base Introduce ts-debian-hvm-install sg-run-job: OVMF job make-flight: OVMF test flight Osstest/Debian.pm | 143 ++++++++++++++++++++----------------- Osstest/TestSupport.pm | 80 ++++++++++++++++++++- make-flight | 13 ++++ sg-run-job | 6 ++ ts-debian-hvm-install | 183 ++++++++++++++++++++++++++++++++++++++++++++++++ ts-redhat-install | 54 +++----------- 6 files changed, 371 insertions(+), 108 deletions(-) create mode 100755 ts-debian-hvm-install -- 1.7.10.4