From: Ryan Harper <ryanh@us.ibm.com>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: Lucas Meneghel Rodrigues <lmr@redhat.com>,
qemu-devel@nongnu.org, Avi Kivity <avi@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 2/2] [FYI] coverage test for Linux installs
Date: Tue, 23 Aug 2011 10:50:06 -0500 [thread overview]
Message-ID: <20110823155006.GF5792@us.ibm.com> (raw)
In-Reply-To: <1312831898-18702-2-git-send-email-aliguori@us.ibm.com>
* Anthony Liguori <aliguori@us.ibm.com> [2011-08-08 14:33]:
> This is a simple tool that I've been using for the past couple months to help
> with day-to-day testing of changes. It may seem like it's similar to
> kvm-autotest but it's actually quite different. Most noticably:
>
> - It's a coverage test instead of an acceptance test. Each time it runs it
> uses a slightly a semi-random configuration for the guest. This means that
> the more you run it, the more coverage you get. This is a good fit for
> maintainer testing because you get wide testing without having to wait for
> 48-hour test cycles.
>
> - It runs in the foreground as an unprivileged user. This means I can kick it
> off in a terminal while I go off and do something else, but still keep an
> eye on what's going on.
>
> - It works with TCG guests too and includes a TCG test case for the pseries
> Power machine.
>
> That said, it's *not* a replacement for KVM autotest. It is not a good tool
> for doing acceptance testing, like you would do to cut a new QEMU release. But
> perhaps there's some behavior that could be leveraged by KVM autotest in the
> future here.
>
> I'm not proposing this for tree inclusion right now. Just sharing a tool that
> I've found to be useful. I really just want the previous patch to go in so that
> I can stop carrying that patch privately.
>
> Right now, you need to setup an ISO directory to use the test tool. After
> copy-on-read lands in the tree, I plan on making it create CoR files backing to
> http so that no explicit setup is required.
> ---
> test-linux.c | 549 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 files changed, 549 insertions(+), 0 deletions(-)
> create mode 100644 test-linux.c
I needed the following changes to the Makefile to build this..
diff --git a/Makefile b/Makefile
index 8606849..b7df0e1 100644
--- a/Makefile
+++ b/Makefile
@@ -162,6 +162,7 @@ check-qlist: check-qlist.o qlist.o qint.o $(CHECK_PROG_DEPS)
check-qfloat: check-qfloat.o qfloat.o $(CHECK_PROG_DEPS)
check-qjson: check-qjson.o qfloat.o qint.o qdict.o qstring.o qlist.o qbool.o qjson.o json-streamer.o json-lexer.o js
test-coroutine: test-coroutine.o qemu-timer-common.o async.o $(coroutine-obj-y) $(CHECK_PROG_DEPS)
+test-linux: test-linux.o $(CHECK_PROG_DEPS)
$(qapi-obj-y): $(GENERATED_HEADERS)
qapi-dir := qapi-generated
--
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
ryanh@us.ibm.com
next prev parent reply other threads:[~2011-08-23 15:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-08 19:31 [Qemu-devel] [PATCH 1/2] pc: make vgabios exit port more useful Anthony Liguori
2011-08-08 19:31 ` [Qemu-devel] [PATCH 2/2] [FYI] coverage test for Linux installs Anthony Liguori
2011-08-08 19:35 ` Anthony Liguori
2011-08-23 15:50 ` Ryan Harper [this message]
2011-08-12 13:46 ` [Qemu-devel] [PATCH 1/2] pc: make vgabios exit port more useful Anthony Liguori
2011-08-24 9:47 ` Avi Kivity
2011-08-24 12:38 ` Anthony Liguori
2011-08-24 12:55 ` Avi Kivity
2011-08-24 13:02 ` Anthony Liguori
2011-08-24 13:06 ` Avi Kivity
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=20110823155006.GF5792@us.ibm.com \
--to=ryanh@us.ibm.com \
--cc=aliguori@us.ibm.com \
--cc=avi@redhat.com \
--cc=lmr@redhat.com \
--cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.