public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Ryan Harper <ryanh-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: add kvm-test as client test
Date: Thu, 15 Nov 2007 13:48:27 -0600	[thread overview]
Message-ID: <20071115194827.GD19788@us.ibm.com> (raw)

I sent this to kvm-devel earlier today, but with an attachment which
may or maynot making it to the list.  So, instead of attaching the
tarball, you can instead just pull the contents here:

http://hg.codemonkey.ws/kvm-autotest

I've included the original email below:


kvm-test[1] is a package for automating guest installation with KVM.
The attached tarball includes the autotest wrapper for running kvm-test
and collecting the results.  The tarball includes several control files,
including one which can pull the nightly kvm snapshots, build and
install kvm prior to running kvmtest.  The latest release of
kvm-test is included as well.  

I'm inlining the README from the tarball which should cover most of the
interesting bits about preping a machine for running kvm-test.

1. http://kvm.qumranet.com/kvmwiki/KVMTest

(ichigo) % cat kvmtest/README
A fair amount of host tools need to run kvm-test.

Requirements:

 * Host needs to have Intel/AMD Virtualization hardware support.
 * Capable of building kvm releases
 * Functioning vncserver (recommend xtightvncserver)
 * Python2.4 (Autotest barfs on 2.5)

New software requirements - (software you probably don't have)
 * gtk-vnc 
 	1. hg clone http://gtk-vnc.sourceforge.net/hg/aliguori.hg
	2. ./autogen.sh (you'll likely need to install a bunch of dev libraries)
    3. make
	4. make install


If you don't already have kvm modules installed and loaded, look at running
with the external module build control file:

 % bin/autotest test/kvmtest/control.with_modbuild

This control file will attempt to pull down a recent snapshot from the kvm
nightly repo, build, install and load kvm modules before running kvmtest.  After
running once with the modbuild control file, you can just run the regular
control.

 % bin/autotest test/kvmtest/control.testdir

If you do not have any kvm-test tests created you will need to do so.  Check out
the wiki (http://kvm.qumranet.com/kvmwiki/KVMTest) for instructions on how to
create your own tests.

Signed-off-by: Ryan Harper <ryanh-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>

-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
ryanh-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

             reply	other threads:[~2007-11-15 19:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-15 19:48 Ryan Harper [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-11-15 16:58 add kvm-test as client test Ryan Harper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071115194827.GD19788@us.ibm.com \
    --to=ryanh-r/jw6+rmf7hqt0dzr+alfa@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox