qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/7] new test infrastructure + qtest
@ 2012-03-28 13:42 Paolo Bonzini
  2012-03-28 13:42 ` [Qemu-devel] [PATCH v4 1/7] test makefile overhaul Paolo Bonzini
                   ` (8 more replies)
  0 siblings, 9 replies; 21+ messages in thread
From: Paolo Bonzini @ 2012-03-28 13:42 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2012-03-30 18:37 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-28 13:42 [Qemu-devel] [PATCH v4 0/7] new test infrastructure + qtest Paolo Bonzini
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

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).