From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Liu Subject: [PATCH RFC V3 0/7] OSSTest: OVMF test job Date: Thu, 12 Dec 2013 21:02:57 +0000 Message-ID: <1386882184-15324-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 RFC v3 of this series This series implements a basic test job for OVMF guest. The test case will install an OVMF guest and try to boot it. I've tried my best to factor out common code. :-) Now the preseed data in the test case only contains essential items - partitioning recipe, late_command and two other items. As for the file manipulation code, it has a small portion (first 6 lines as IanJ pointed out) that's copied from ts-redhat-install, but I don't see a sensible to factor out that 6 lines of command. I basically didn't touch that last two patches as IanJ will take care of them when he takes this series. Wei. 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 * add $flight $job and $gn to all file paths Changes in v2: * factor out preseed_base * make installation CD work with seabios Wei Liu (7): make-flight: disable OVMF build for 4.3 TestSupport.pm: add bios option to guest config file TestSupport.pm: functions for creating isos Debian.pm: factor out preseed_base Introduce ts-debian-hvm-install make-flight: OVMF test filght sg-run-job: OVMF job Osstest/Debian.pm | 143 +++++++++++++++++++--------------- Osstest/TestSupport.pm | 33 ++++++++ make-flight | 7 ++ sg-run-job | 6 ++ ts-debian-hvm-install | 202 ++++++++++++++++++++++++++++++++++++++++++++++++ ts-redhat-install | 13 +--- 6 files changed, 332 insertions(+), 72 deletions(-) create mode 100755 ts-debian-hvm-install -- 1.7.10.4