Statistics
| Branch: | Revision:

root / tests / Makefile @ feature-archipelago

History | View | Annotate | Download (16.8 kB)

# Date Author Comment
61e8a923 02/20/2014 03:05 pm Peter Maydell

Merge remote-tracking branch 'remotes/afaerber/tags/qom-devices-for-peter' into staging

QOM infrastructure fixes and device conversions

  • QTest cleanups and test cases for PCI NICs
  • NAND fix for "info qtree"
  • Cleanup and extension of QOM machine tests...
1f9c4cfd 02/14/2014 10:11 pm Andreas Färber

ipack: Move IndustryPack out of hw/char/

Move the header defining an IPackBus and IPackDevice base class into
a new include/ directory and move their implementation and a
PCI-IndustryPack bridge out of hw/char/ directory into a new hw/ipack/.

Acked-by: Alberto Garcia <>...

37146829 02/14/2014 10:07 pm Andreas Färber

tests: Add ipoctal232 qtest

Acked-by: Alberto Garcia <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Andreas Färber <>

76491071 02/14/2014 10:02 pm Andreas Färber

tests: Add tpci200 qtest

Acked-by: Alberto Garcia <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Andreas Färber <>

b815ec5e 02/14/2014 10:01 pm Andreas Färber

tests: Add virtio-net qtest

Cc: Michael S. Tsirkin <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Andreas Färber <>

5297ea6f 02/14/2014 09:50 pm Andreas Färber

tests: Add ne2000 qtest

Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Andreas Färber <>

a21baf79 02/14/2014 05:22 pm Andreas Färber

tests: Add e1000 qtest

Cc: Michael S. Tsirkin <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Andreas Färber <>

4a053e7f 02/14/2014 05:22 pm Andreas Färber

tests: Add vmxnet3 qtest

Note that this will emit a warning:
[vmxnet3][WR][vmxnet3_peer_has_vnet_hdr]: Peer has no virtio extension.
Task offloads will be emulated.

Reviewed-by: Dmitry Fleytman <>
Reviewed-by: Stefan Hajnoczi <>...

74769fe7 02/14/2014 05:22 pm Andreas Färber

tests: Add rtl8139 qtest

Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Andreas Färber <>

85f68d55 02/14/2014 05:22 pm Andreas Färber

tests: Add pcnet qtest

Test PCI only for now.

Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Andreas Färber <>

92838a19 02/14/2014 05:22 pm Andreas Färber

tests: Add eepro100 qtest

Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Andreas Färber <>

3687d532 02/14/2014 05:22 pm Peter Maydell

tests: Run qom-test for every architecture

Rather than requiring every new architecture to remember to add a line
to the Makefile to say that qom-test will work on it, autogenerate
the list of supported architectures by looking at the files in
default-configs (as configure does), and add qom-test to the...

5ec889b4 02/14/2014 05:21 pm Andreas Färber

tests: Fix gcov paths for relocated device sources

Commit 49ab747f668f421138d5b40d83fa279c4c5e278d moved
fdc.c, hd-geometry.c, m48t59.c, tmp105.c into hw/ subdirectories;
commit 0ddfaf7fe4c8453446730328bf348b7c6438e4f8 did for mc146818rtc.c.

Cc: Paolo Bonzini <>...

5e954943 02/10/2014 10:27 am Igor Mammedov

hw/pci: switch to a generic hotplug handling for PCIDevice

make qdev_unplug()/device_set_realized() to call hotplug handler's
plug/unplug methods if available and remove not needed anymore
hot(un)plug handling from PCIDevice.

In case if hotplug handler is not available, revert to the legacy...

3dbe85b8 01/17/2014 01:49 am Peter Crosthwaite

tests: Add libqemustub to qom-interface-check

The recent addition of util/error.c's dependency on error_report()
causes this test to fail to link due to a number of missing monitor
related symbols. All these symbols are however defined by libqemustub.
Add this libary to the link....

2668b4bf 01/13/2014 03:04 pm Eduardo Habkost

tests: Some unit tests for vmstate.c

  • Basic load/save tests
  • Tests for loading older versions
  • Tests for .field_exists() handling

Signed-off-by: Eduardo Habkost <>
Signed-off-by: Juan Quintela <>

14389dbd 12/24/2013 06:27 pm Igor Mammedov

tests: Test QOM interface casting

Add basic regression testing for QOM Interface usage.
Test checks casting to interface type/class for following cases:
- interface implementation in leaf class
- interface implementation in intermediate (parent) class...

ad6423a7 12/10/2013 12:29 pm Michael S. Tsirkin

acpi-test: basic acpi unit-test

We run bios, and boot a minimal boot sector that immediately halts.
Then poke at memory to find ACPI tables.

This only checks that RSDP is there.
More will be added later.

Cc: Andreas Färber <>
Cc: Markus Armbruster <>...

7ceeedd0 11/07/2013 02:58 pm Stefan Hajnoczi

blockdev-test: add test case for drive_add duplicate IDs

The following should work:

(qemu) drive_add if=none,id=drive0
(qemu) drive_del drive0
(qemu) drive_add if=none,id=drive0

Previous versions of QEMU produced a duplicate ID error because
drive_add leaked the options....

43cd2098 11/07/2013 02:58 pm Stefan Hajnoczi

qdev-monitor-test: add device_add leak test cases

Ensure that the device_add error code path deletes device objects.
Failure to do so not only leaks the objects but can also keep other
objects (like drive or netdev) alive due to qdev properties holding
references....

7c41f217 11/05/2013 06:47 pm Andreas Färber

qtest: Prepare QOM machine tests

Instantiate all [*] machines per target, so that they get a bit of test
coverage at all. This has proven helpful during QOM refactorings.

[*] ppcemb target contains some non-working non-embedded machines, and
ppc405 CPUs are not available there either....

2cdfb123 10/11/2013 05:50 pm Wenchao Xia

build: add command check-clean

This command will package the clean operations in tests. Now root Makefile
simply calls the command and do not care the details of it any more. Original
the built binaries for test will not be removed, now they will be deleted...

22ee5a55 10/11/2013 05:50 pm Wenchao Xia

tests: build the helper program by default

Usually we may configure and make, then goto ./tests/qemu-iotest,
check. In this case an error will happen since helper program
was not built. This patch simply build it by default. A better way
may be introducing Makefile in ./tests/qemu-iotest, but it is more...

d8039e58 10/02/2013 09:55 pm Markus Armbruster

tests: Fix schema parser test for in-tree build

Commit 4f193e3 added the test, but screwed up in-tree builds
(SRCDIR=.): the tests's output overwrites the expected output, and is
thus compared to itself.

Cc:
Reported-by: Laszlo Ersek <>...

f93296ea 09/12/2013 11:12 am Wenchao Xia

qemu-iotests: add unix socket help program

This program can do a sendmsg call to transfer fd with unix
socket, which is not supported in python2.

The built binary will not be deleted in clean, but it is a
existing issue in ./tests, which should be solved in another...

f17cfe81 09/06/2013 04:25 pm Benoît Canet

throttle: Add units tests

Signed-off-by: Benoit Canet <>
Signed-off-by: Stefan Hajnoczi <>

3953e3a5 08/20/2013 06:52 pm Laszlo Ersek

OptsVisitor: introduce unit tests, with test cases for range flattening

According to commit 4f193e34
("tests: Use qapi-schema-test.json as schema parser test")
the "tests/qapi-schema/qapi-schema-test.out" file must be updated as well.

Signed-off-by: Laszlo Ersek <>...

747b0cb4 08/16/2013 07:44 pm Eduardo Habkost

tests: Unit tests for qdev global properties handling

This tests the qdev global-properties handling code.

Signed-off-by: Eduardo Habkost <>
Signed-off-by: Andreas Färber <>

98626572 07/29/2013 06:37 pm Markus Armbruster

tests: QAPI schema parser tests

The parser handles erroneous input badly. To be improved shortly.

Signed-off-by: Markus Armbruster <>
Message-id:
Signed-off-by: Anthony Liguori <>

4f193e34 07/29/2013 06:37 pm Markus Armbruster

tests: Use qapi-schema-test.json as schema parser test

Signed-off-by: Markus Armbruster <>
Reviewed-by: Eric Blake <>
Message-id:
Signed-off-by: Anthony Liguori <>

8fefa31b 07/25/2013 04:12 pm Paolo Bonzini

qtest: add test for ISA I/O space endianness

This writes a register and reads its 1/2/4 byte parts. Masking
is done in the device model.

Signed-off-by: Paolo Bonzini <>
Reviewed-by: Anthony Liguori <>
Message-id: ...

3464700f 07/22/2013 11:41 pm Peter Maydell

tests: Add test-bitops.c with some sextract tests

Add some simple test cases for the new sextract32
and sextract64 functions.

Signed-off-by: Peter Maydell <>
Reviewed-by: Richard Henderson <>
Message-id: ...

26491a38 07/18/2013 09:27 pm Markus Armbruster

libqos: Generalize I/O-mapped fw_cfg

Provide a constructor that takes the base address in addition to the
PC-specific one.

Signed-off-by: Markus Armbruster <>
Message-id:
Signed-off-by: Anthony Liguori <>

edbd790d 07/18/2013 09:27 pm Markus Armbruster

boot-order-test: New; covering just PC for now

Signed-off-by: Markus Armbruster <>
Message-id:
Signed-off-by: Anthony Liguori <>

db2b5500 07/18/2013 09:27 pm Anthony Liguori

libqos: include dependencies

Otherwise rebuilds can fail when libqos is modified.

Reported-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>
Signed-off-by: Markus Armbruster <>
Message-id: ...

530a7e48 07/18/2013 09:27 pm Andreas Färber

boot-order-test: Add tests for PowerMacs

They set the boot device via fw_cfg, which is then translated to a boot
path of "hd" or "cd" in OpenBIOS.

Signed-off-by: Andreas Färber <>
Signed-off-by: Andreas Färber <>
Signed-off-by: Markus Armbruster <>...

6046c620 07/02/2013 09:17 am Paolo Bonzini

int128: optimize and add test cases

For add, the carry only requires checking one of the arguments.
For sub and neg, we can similarly optimize computation of the
carry.

For ge, we can just do lexicographic order.

Signed-off-by: Paolo Bonzini <>

04129606 05/29/2013 04:16 pm Stefan Hajnoczi

tests: set MALLOC_PERTURB_ to expose memory bugs

glibc wipes malloc(3) memory when the MALLOC_PERTURB_ environment
variable is set. The value of the environment variable determines the
bit pattern used to wipe memory. For more information, see
http://udrepper.livejournal.com/11429.html....

acbe4801 05/08/2013 04:28 pm Kevin Wolf

qtest: Add IDE test case

This adds a simple IDE test case and starts by verifying that IDENTIFY
can be successfully used and return the correct serial number, version
and the WCE flag is set for cache=writeback.

Signed-off-by: Kevin Wolf <>

cc9936a3 05/03/2013 08:03 pm Andreas Färber

libqos: Relocate I2C files

Commit c4efe1cada311b9dc0df5beb71c4227ff3414aa1 (qtest: add libqos
including PCI support) created a libqos/ subdirectory but left the
existing I2C libqos files libi2c*.[hc] in tests/. Clean this up.

Signed-off-by: Andreas Färber <>...

bf2a38d4 04/17/2013 06:27 pm Anthony Liguori

fw_cfg: add qtest test case

This validates some basic characteristics of fw_cfg.

Signed-off-by: Anthony Liguori <>
Message-id:

9bda413c 04/17/2013 06:27 pm Anthony Liguori

i440fx-test: add test to compare default register values

This test compares all of the default register values against the
spec. It turns out we deviate in quite a few places. These
places are really only visible to the BIOS though which is why
this hasn't created any problems....

c4efe1ca 04/17/2013 06:26 pm Anthony Liguori

qtest: add libqos including PCI support

This includes basic PCI support for the PC platform. Enough
abstraction should be present to support non-PC platforms too.

Signed-off-by: Anthony Liguori <>
Message-id:

234c69c5 04/17/2013 06:26 pm Anthony Liguori

libqos: add fw_cfg support

fw_cfg is needed to get the top of memory which is necessary for
doing PCI allocation and allocating RAM for DMA.

Add a PC version of fw_cfg and enough abstraction to support other
platforms.

Signed-off-by: Anthony Liguori <>...

8a0743cf 04/17/2013 06:26 pm Anthony Liguori

libqos: add malloc support

This is a very simple allocator for the PC platform. It should
be possible to add backends for other platforms.

Signed-off-by: Anthony Liguori <>
Message-id:

7c2acc70 04/08/2013 06:38 pm Peter Maydell

configure: Don't fall back to gthread coroutine backend

The gthread coroutine backend is broken and does not produce a working
QEMU; it is only useful for some very limited debugging situations.
Clean up the backend selection logic in configure so that it now runs...

f4c0f986 02/17/2013 04:28 pm Richard Henderson

tests: Add unit tests for mulu64 and muls64

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

e3f9fe2d 02/04/2013 10:38 pm Eduardo Habkost

cutils: unsigned int parsing functions

There are lots of duplicate parsing code using strto*() in QEMU, and
most of that code is broken in one way or another. Even the visitors
code have duplicate integer parsing code1. This introduces functions
to help parsing unsigned int values: parse_uint() and parse_uint_full()....

baeddded 02/01/2013 10:45 pm Anthony Liguori

sparc: disable qtest in make check

We've seen this repeatedly in buildbot but I can now reliably
reproduce it myself too. With a few hundred runs of 'make check',
qemu-system-sparc will hang consuming 100% CPU. I've attached GDB
to the hung process and unfortunately, I can't get anything useful...

21e3cd29 02/01/2013 09:32 am Orit Wasserman

Add XBZRLE testing

Signed-off-by: Orit Wasserman <>
Reviewed-by: Paolo Bonzini <>

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>

ec9466ff 01/28/2013 10:48 pm Anthony Liguori

Merge remote-tracking branch 'afaerber/qom-cpu' into staging

  • afaerber/qom-cpu: (37 commits)
    kvm: Pass CPUState to kvm_on_sigbus_vcpu()
    cpu: Unconditionalize CPUState fields
    target-m68k: Use type_register() instead of type_register_static()
    target-unicore32: Use type_register() instead of type_register_static()...
503cb22e 01/28/2013 10:46 pm Anthony Liguori

Merge remote-tracking branch 'kwolf/for-anthony' into staging

  1. By Paolo Bonzini (14) and others
  2. Via Kevin Wolf
    • kwolf/for-anthony: (24 commits)
      ide: Add fall through annotations
      block: Create proper size file for disk mirror
      ahci: Add migration support...
247c9de1 01/27/2013 03:34 pm Eduardo Habkost

target-i386: Topology & APIC ID utility functions

This introduces utility functions for the APIC ID calculation, based on:
Intel® 64 Architecture Processor Topology Enumeration
http://software.intel.com/en-us/articles/intel-64-architecture-processor-topology-enumeration/...

c5cd02ba 01/26/2013 03:52 pm Andreas Färber

tests: Add gcov support for x86_64 qtest

Since x86_64 is a superset of i386 and reuses all its test cases, adopt
all the i386 gcov source files as well, substituting their paths
appropriately.

Signed-off-by: Andreas Färber <>
Signed-off-by: Blue Swirl <>

cba040c2 01/26/2013 03:52 pm Andreas Färber

tests: Add gcov support for sparc64 qtest

m48t59-test is individually being executed for sparc and sparc64, so add
the gcov source file for sparc64 as well.

Signed-off-by: Andreas Färber <>
Signed-off-by: Blue Swirl <>

6a694495 01/26/2013 03:52 pm Andreas Färber

tests: Fix gcov typo for tmp105-test

Commit 6e9989034b176a8e4cfdccd85892abfa73977ba7 introduced a new qtest
test case but misspelled gcov, leading to no coverage analysis. Fix it.

Signed-off-by: Andreas Färber <>
Signed-off-by: Blue Swirl <>

5f7a74a1 01/26/2013 03:10 pm Paolo Bonzini

tests: adjust gcov variables for directory movement

I had missed the introduction of the gcov-files-* variables.

Cc: Blue Swirl <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Blue Swirl <>

e7c033c3 01/25/2013 07:18 pm Paolo Bonzini

add hierarchical bitmap data type and test cases

HBitmaps provides an array of bits. The bits are stored as usual in an
array of unsigned longs, but HBitmap is also optimized to provide fast
iteration over set bits; going from one bit to the next is O(logB n)...

2bf7b457 01/16/2013 08:14 pm Andreas Färber

libqtest: Prepare I2C libqos

This adds a simple I2C API and a driver implementation for omap_i2c.

Signed-off-by: Andreas Färber <>
Reviewed-by: Anthony Liguori <>
Signed-off-by: Anthony Liguori <>

6e998903 01/16/2013 08:14 pm Andreas Färber

tests: Add tmp105 qtest test case

Exercise all four commands of the TMP105, testing for an issue in the
I2C TX path.

The test case uses the N800's OMAP I2C and is the first for ARM.

Signed-off-by: Andreas Färber <>
Signed-off-by: Anthony Liguori <>

59cacde8 01/12/2013 07:42 pm Paolo Bonzini

build: move QAPI definitions for QEMU out of qapi-obj-y

There is no reason why for example qemu-ga should include all the
definitions for the QEMU monitor. However, there are a few
that are needed (qapi_free_SocketAddress, qapi_free_InetSocketAddress,
ErrorClass_lookup). These should be moved to a separate "core"...

576d5506 01/12/2013 07:42 pm Paolo Bonzini

build: move base QAPI files to libqemuutil.a

Signed-off-by: Paolo Bonzini <>

ff667e2e 01/12/2013 07:42 pm Paolo Bonzini

build: fold trace-obj-y into libqemuutil.a

Signed-off-by: Paolo Bonzini <>

e4b42e6e 01/12/2013 07:42 pm Paolo Bonzini

build: rename oslib-obj-y to util-obj-y

This prepares the creation of libqemuutil.a in the next patch.

Signed-off-by: Paolo Bonzini <>

8a090705 01/12/2013 07:42 pm Paolo Bonzini

build: move util-obj-y to libqemuutil.a

Use a static library to eliminate repetition in the linking rules.

Signed-off-by: Paolo Bonzini <>

f157ebba 01/12/2013 07:42 pm Paolo Bonzini

build: move files away from tools-obj-y, common-obj-y, user-obj-y

Split them between libqemuutil.a and, for those used by qemu-img/io/nbd,
block-obj-y.

Static libraries ensure that binaries such as qemu-ga do not include
unused modules.

Signed-off-by: Paolo Bonzini <>

a372823a 01/12/2013 07:42 pm Paolo Bonzini

build: move qobject files to qobject/ and libqemuutil.a

Signed-off-by: Paolo Bonzini <>

5708fc66 01/12/2013 06:19 pm Paolo Bonzini

stubs: fully replace qemu-tool.c and qemu-user.c

Signed-off-by: Paolo Bonzini <>

1d728c39 01/06/2013 10:15 am Blue Swirl

tests: add gcov support

Add support for compiling for GCOV test coverage, enabled
with '--enable-gcov' during configure.

Test coverage will be reported after each test.

Signed-off-by: Blue Swirl <>

b2ea25d7 11/26/2012 05:37 pm Paolo Bonzini

tests: add AioContext unit tests

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

74c856e9 11/26/2012 05:37 pm Paolo Bonzini

tests: add thread pool unit tests

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

2b84c2be 11/19/2012 11:48 am Paolo Bonzini

tests: link in stubs

Signed-off-by: Paolo Bonzini <>

136594f1 10/30/2012 10:30 am Paolo Bonzini

build: do not include main loop where it is not actually used

Signed-off-by: Paolo Bonzini <>

0191253c 10/30/2012 10:18 am Paolo Bonzini

janitor: move iovector functions out of cutils.c

This removes the dependency of cutils.c on iov.c, and lets us remove
iov.o from several builds.

Signed-off-by: Paolo Bonzini <>

0ef3dd6c 10/23/2012 11:38 pm Paolo Bonzini

tests: do not include tools-obj-y
Signed-off-by: Paolo Bonzini <>

adb696f3 08/15/2012 02:16 pm Corey Bryant

block: Enable qemu_open/close to work with fd sets

When qemu_open is passed a filename of the "/dev/fdset/nnn"
format (where nnn is the fdset ID), an fd with matching access
mode flags will be searched for within the specified monitor
fd set. If the fd is found, a dup of the fd will be returned...

14117c7b 07/28/2012 12:13 pm Eduardo Habkost

tests: Makefile: include dependency files

Otherwise 'make check' won't recompile files that need to be recompiled
because of header changes.

To reproduce the bug, run:

$ make check  # succeeds
$ echo B0RKED > hw/mc146818rtc_regs.h
$ make check # is supposed to try to rebuild tests/rtc-test.o and fail...
0e8a8c8f 07/17/2012 05:48 pm Markus Armbruster

qtest: Add hard disk geometry test

So far covers only IDE and tests only CMOS contents.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Kevin Wolf <>

23797df3 07/09/2012 08:35 pm Anthony Liguori

Merge remote-tracking branch 'mjt/mjt-iov2' into staging

  • mjt/mjt-iov2:
    rewrite iov_send_recv() and move it to iov.c
    cleanup qemu_co_sendv(), qemu_co_recvv() and friends
    export iov_send_recv() and use it in iov_send() and iov_recv()
    rename qemu_sendv to iov_send, change proto and move declarations to iov.h...
2d496105 06/08/2012 05:11 pm Michael Roth

qapi: Unit tests for visitor-based serialization

Currently we test our visitors individually, and seperately for input
vs. output. This is useful for validating internal representations
against the native C types and vice-versa, and other visitor-specific...

2278a69e 06/07/2012 08:09 pm Michael Tokarev

rewrite iov_* functions

This changes implementations of all iov_*
functions, completing the previous step.

All iov_* functions now ensure that this offset
argument is within the iovec (using assertion),
but lets to specify `bytes' value larger than
actual length of the iovec - in this case they...

4115852b 06/07/2012 08:17 am Paolo Bonzini

build: do not sprinkle around GENERATED_HEADERS dependencies

Keeping GENERATED_HEADERS dependencies up-to-date everywhere is complex.
We can simply make the Makefile depend on them, and they will be built
before all other targets.

Signed-off-by: Paolo Bonzini <>

fba0c40b 05/21/2012 11:31 pm Stefan Weil

tests: Add rtc-test (fix test regression)

Commit 93e9eb6808c886f5f1c903b7ced1eed65de2ba39 added fdc-test,
but accidentally removed rtc-test because check-qtest-i386-y was
not enhanced but set twice.

This patch adds rtc-test again (and sorts both tests alphabetically)....

fd4567d9 05/19/2012 06:53 pm Stefan Weil

tests: Fix linker failure for fdc-test

When QEMU was built with the simple trace backend, linking failed:

LINK  tests/fdc-test
oslib-posix.o: In function `trace_qemu_memalign':
qemu/bin/debug/x86/./trace.h:31: undefined reference to `trace3'
oslib-posix.o: In function `trace_qemu_vmalloc':...
6c806637 05/10/2012 12:01 pm Kevin Wolf

tests/Makefile: Add missing $(EXESUF)

Signed-off-by: Kevin Wolf <>

93e9eb68 05/10/2012 11:32 am Kevin Wolf

qtest: Add floppy test

Let's start with testing media change.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Paolo Bonzini <>

f91837a7 04/21/2012 10:10 am Blue Swirl

qtest: add m48t59 tests for Sparc

Add simple m48t59 qtests, enable test only for Sparc32
and Sparc64. On PPC, the device is behind PCI bus.

Signed-off-by: Blue Swirl <>

2ad59607 04/14/2012 07:19 pm Paolo Bonzini

tests: remove .SECONDARY special target

The special target should not be needed anymore, and caused (perhaps
due to a Make bug) a failure with "make -j2". In any case, the
main makefile is a better place for such special targets rather
than an included makefile....

d2a16f74 03/30/2012 08:39 pm Blue Swirl

qtest: fix out of tree build

Trace objects are also needed if tracing is enabled.

Reviewed-by: Anthony Liguori <>
Signed-off-by: Blue Swirl <>

d1aaf543 03/30/2012 04:14 pm Anthony Liguori

qtest: add rtc-test test-case

Signed-off-by: Anthony Liguori <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

b93b63f5 03/30/2012 04:14 pm Paolo Bonzini

test makefile overhaul

This introduces new test reporting infrastructure based on
gtester and gtester-report.

Also, all existing tests are moved to tests/, and tests/Makefile
is reorganized to factor out the commonalities in the rules.

Signed-off-by: Anthony Liguori <>...

49ee3590 03/30/2012 04:14 pm Anthony Liguori

qtest: add C version of test infrastructure

This also includes a qtest wrapper script to make it easier to launch qtest
tests directly.

Signed-off-by: Anthony Liguori <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

e38ac962 03/27/2012 03:15 pm Paolo Bonzini

qapi: add strict mode to input visitor

While QMP in general is designed so that it is possible to ignore
unknown arguments, in the case of the QMP server it is better to
reject them to detect bad clients. In fact, we're already doing
this at the top level in the argument checker. To extend this to...

2db5b068 03/26/2012 01:28 pm Michael Roth

test: add test-qmp-commands to make check

All the deps are here but the test was never added to the list of tests
for make check

Signed-off-by: Michael Roth <>
Signed-off-by: Stefan Hajnoczi <>

3ac805d9 03/26/2012 01:28 pm Michael Roth

test: remove qemu-ga reference

This was added by mistake a while back.

Signed-off-by: Michael Roth <>
Signed-off-by: Stefan Hajnoczi <>

8959449b 03/12/2012 04:14 pm Kevin Wolf

make check: Add qemu-iotests subset

Run the 'quick' group from qemu-iotests during 'make check'.

Signed-off-by: Kevin Wolf <>

b8c6f29e 03/12/2012 04:14 pm Kevin Wolf

Add 'make check-block'

Runs the full qemu-iotests suite for various image formats.

Signed-off-by: Kevin Wolf <>

2d7799f2 02/21/2012 11:21 am Paolo Bonzini

qapi: add tests for string-based visitors

Signed-off-by: Paolo Bonzini <>

3c941c61 01/19/2012 10:14 am Stefan Weil

tests: Silence gtester in Makefile

This prettifies make output a little by avoiding a very long line.
As gtester prints the checks when they are run, no information is lost.

Signed-off-by: Stefan Weil <>
Signed-off-by: Stefan Hajnoczi <>

ad65aa88 01/12/2012 06:34 pm Anthony Liguori

test: eliminate libcheck tests and have make check use gtester

Signed-off-by: Anthony Liguori <>