From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH v4 0/7] new test infrastructure + qtest
Date: Wed, 28 Mar 2012 15:42:00 +0200 [thread overview]
Message-ID: <1332942127-8964-1-git-send-email-pbonzini@redhat.com> (raw)
This is a rebase of qtest. I split the gtester infrastructure into
its own patch, and reorganized the tests by moving everything into
tests/.
Also, libqtest now has bindings for the clock management commands, and
I am using them in rtc-test. Finally, the accept is moved from qemu to
libqtest; tests need not sleep anymore until QEMU connects.
This is on top of Luiz's recent pull request.
Anthony Liguori (4):
qtest: add test framework
qtest: add C version of test infrastructure
rtc: split out macros into a header file and use in test case
qtest: add rtc-test test-case
Paolo Bonzini (3):
test makefile overhaul
qtest: IRQ interception infrastructure
qtest: add clock management
Makefile.objs | 2 +
cpu-exec.c | 1 +
cpus.c | 82 ++++-
cpus.h | 2 +
hw/irq.c | 17 +
hw/irq.h | 5 +
hw/mc146818rtc.c | 33 --
hw/mc146818rtc.h | 3 +-
hw/mc146818rtc_regs.h | 62 +++
hw/pc_piix.c | 5 +-
osdep.h | 2 +
qemu-common.h | 1 -
qemu-options.hx | 8 +
qemu-timer.c | 2 +-
qemu-timer.h | 1 +
qtest.c | 443 ++++++++++++++++++++
qtest.h | 35 ++
rules.mak | 2 +-
scripts/gtester-cat | 26 ++
scripts/qtest | 5 +
tests/Makefile | 165 ++++++--
check-qdict.c => tests/check-qdict.c | 0
check-qfloat.c => tests/check-qfloat.c | 0
check-qint.c => tests/check-qint.c | 0
check-qjson.c => tests/check-qjson.c | 0
check-qlist.c => tests/check-qlist.c | 0
check-qstring.c => tests/check-qstring.c | 0
tests/libqtest.c | 385 +++++++++++++++++
tests/libqtest.h | 333 +++++++++++++++
tests/rtc-test.c | 263 ++++++++++++
test-coroutine.c => tests/test-coroutine.c | 0
test-qmp-commands.c => tests/test-qmp-commands.c | 0
.../test-qmp-input-strict.c | 0
.../test-qmp-input-visitor.c | 0
.../test-qmp-output-visitor.c | 0
.../test-string-input-visitor.c | 0
.../test-string-output-visitor.c | 0
vl.c | 10 +-
38 files changed, 1806 insertions(+), 87 deletions(-)
create mode 100644 hw/mc146818rtc_regs.h
create mode 100644 qtest.c
create mode 100644 qtest.h
create mode 100755 scripts/gtester-cat
create mode 100755 scripts/qtest
rename check-qdict.c => tests/check-qdict.c (100%)
rename check-qfloat.c => tests/check-qfloat.c (100%)
rename check-qint.c => tests/check-qint.c (100%)
rename check-qjson.c => tests/check-qjson.c (100%)
rename check-qlist.c => tests/check-qlist.c (100%)
rename check-qstring.c => tests/check-qstring.c (100%)
create mode 100644 tests/libqtest.c
create mode 100644 tests/libqtest.h
create mode 100644 tests/rtc-test.c
rename test-coroutine.c => tests/test-coroutine.c (100%)
rename test-qmp-commands.c => tests/test-qmp-commands.c (100%)
rename test-qmp-input-strict.c => tests/test-qmp-input-strict.c (100%)
rename test-qmp-input-visitor.c => tests/test-qmp-input-visitor.c (100%)
rename test-qmp-output-visitor.c => tests/test-qmp-output-visitor.c (100%)
rename test-string-input-visitor.c => tests/test-string-input-visitor.c (100%)
rename test-string-output-visitor.c => tests/test-string-output-visitor.c (100%)
--
1.7.9.1
next reply other threads:[~2012-03-28 13:42 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-28 13:42 Paolo Bonzini [this message]
2012-03-28 13:42 ` [Qemu-devel] [PATCH v4 1/7] test makefile overhaul Paolo Bonzini
2012-03-28 13:42 ` [Qemu-devel] [PATCH v4 2/7] qtest: add test framework Paolo Bonzini
2012-03-30 17:40 ` Stefan Weil
2012-03-30 17:50 ` Anthony Liguori
2012-03-30 17:52 ` Stefan Weil
2012-03-30 17:53 ` Anthony Liguori
2012-03-30 18:37 ` Paolo Bonzini
2012-03-28 13:42 ` [Qemu-devel] [PATCH v4 3/7] qtest: IRQ interception infrastructure Paolo Bonzini
2012-03-28 13:42 ` [Qemu-devel] [PATCH v4 4/7] qtest: add clock management Paolo Bonzini
2012-03-28 13:42 ` [Qemu-devel] [PATCH v4 5/7] qtest: add C version of test infrastructure Paolo Bonzini
2012-03-28 13:42 ` [Qemu-devel] [PATCH v4 6/7] rtc: split out macros into a header file and use in test case Paolo Bonzini
2012-03-28 13:42 ` [Qemu-devel] [PATCH v4 7/7] qtest: add rtc-test test-case Paolo Bonzini
2012-03-30 17:15 ` Blue Swirl
2012-03-30 17:22 ` Blue Swirl
2012-03-30 17:49 ` Anthony Liguori
2012-03-30 17:53 ` Blue Swirl
2012-03-30 17:29 ` Anthony Liguori
2012-03-30 17:37 ` Blue Swirl
2012-03-28 17:43 ` [Qemu-devel] [PATCH v4 0/7] new test infrastructure + qtest Anthony Liguori
2012-03-30 14:45 ` Anthony Liguori
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=1332942127-8964-1-git-send-email-pbonzini@redhat.com \
--to=pbonzini@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).