Statistics
| Branch: | Revision:

root / tests / Makefile @ e4b42e6e

History | View | Annotate | Download (8.8 kB)

# Date Author Comment
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 <>

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

dbfe06c6 01/12/2012 06:05 pm Anthony Liguori

build: split unit test builds to a separate makefile fragment

Signed-off-by: Anthony Liguori <>

c09015dd 01/12/2012 06:03 pm Anthony Liguori

tests: mv tests/* -> tests/tcg

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

e7764a46 12/09/2011 12:09 pm Chen Wei-Ren

tests/Makefile: Remove qruncom target

Remove qruncom target from the Makefile file.

Reviewed-by: Peter Maydell <>
Signed-off-by: Chen Wei-Ren <>
Signed-off-by: Stefan Hajnoczi <>

d65f0831 03/07/2011 02:42 pm Michael Walle

lm32: opcode testsuite

This patch creates tests/lm32 directory and adds tests for every
LatticeMico32 opcode.

Signed-off-by: Michael Walle <>
Signed-off-by: Edgar E. Iglesias <>

f9728943 01/14/2011 06:11 pm Paolo Bonzini

do not pass bogus $(SRC_PATH) include paths to cc during configure

Non-existent -I paths are dropped silently by the compiler, but still
it is not polite to pass bogus options. Configure-time tests do not
need any include files from the source path, so only include -I flags...

2b2e59e6 10/23/2010 05:47 pm Paolo Bonzini

rewrite i386 tests Makefile

1) compute path to i386 compiler from configure. If it is found, run
the i386 tests. I use macros so that this approach could be applied
for other arches as well.

2) provide an easily extensible way to add tests

Most tests fail, but at least "make test" does something meaningful....

48118b02 10/23/2010 05:47 pm Paolo Bonzini

fix test_path

path.c grew quite a few new dependencies (mostly via cutils.c),
include them.

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

9517a9e6 10/23/2010 05:46 pm Paolo Bonzini

unbreak "make" from vpath-built tests directory

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

076d2471 01/08/2010 05:58 pm Paolo Bonzini

Use vpath directive

The vpath directive has two advantages over the VPATH variable:
1) it allows to skip searching of .o files; 2) the default semantics
are to append to the vpath, so there is no confusion between "VPATH=xyz"
and "VPATH+=xyz".

Since "vpath %.c %.h PATH" is not valid, I'm introducing a wrapper...

5f650495 07/10/2009 12:06 am Isaku Yamahata

consolidate user cpu_{in, out}[bwl] into ioport-user.c

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Anthony Liguori <>

e5fd43a9 09/22/2008 04:39 am malc

Support out-of-the-tree building of tests

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5288 c046a42c-6fe2-441c-8c8c-71466251a162

6f7044fa 05/28/2008 03:35 pm bellard

update

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4602 c046a42c-6fe2-441c-8c8c-71466251a162

e1ffb0f1 03/02/2008 12:23 am edgar_igl

Add a tests for user-mode mmap

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4006 c046a42c-6fe2-441c-8c8c-71466251a162

a44c7c15 01/31/2008 05:19 pm bellard

compilation fix

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3939 c046a42c-6fe2-441c-8c8c-71466251a162

9b0b8203 11/14/2007 12:34 pm bellard

removed obsolete test2 target

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3640 c046a42c-6fe2-441c-8c8c-71466251a162

7aaabde7 11/11/2007 07:26 pm bellard

use -fno-strict-aliasing

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3598 c046a42c-6fe2-441c-8c8c-71466251a162

e7daa605 10/08/2007 04:38 pm ths

Add CRIS configuration bits, by Edgar E. Iglesias.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3368 c046a42c-6fe2-441c-8c8c-71466251a162

18c9b560 04/30/2007 05:02 am balrog

Implement iwMMXt instruction set for the PXA270 cpu.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2752 c046a42c-6fe2-441c-8c8c-71466251a162

2afbeee7 02/05/2007 10:51 pm bellard

update path

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2395 c046a42c-6fe2-441c-8c8c-71466251a162

57be54bb 01/20/2007 06:52 pm pbrook

Fix "make test2".

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2339 c046a42c-6fe2-441c-8c8c-71466251a162

e4630047 12/14/2006 04:48 pm ths

Simple test for mips/mipsel, based on a test by Alexander Voropay.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2246 c046a42c-6fe2-441c-8c8c-71466251a162

3b42c979 06/25/2006 09:02 pm bellard

sse2 comment

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2017 c046a42c-6fe2-441c-8c8c-71466251a162

2d7a3b9d 12/18/2005 09:28 pm bellard

qruncom compile fixes (initial patch by Even Rouault)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1722 c046a42c-6fe2-441c-8c8c-71466251a162

56902eee 12/06/2005 11:44 pm bellard

more targets

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1702 c046a42c-6fe2-441c-8c8c-71466251a162

cc4adeef 12/05/2005 11:04 pm bellard

added MIPS user in automatic tests

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1696 c046a42c-6fe2-441c-8c8c-71466251a162

11650e36 04/27/2005 12:39 am bellard

clean target update

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1410 c046a42c-6fe2-441c-8c8c-71466251a162

776f2227 03/03/2005 12:19 am bellard

x86_64 test program

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1321 c046a42c-6fe2-441c-8c8c-71466251a162

085339a1 01/08/2005 08:54 pm bellard

MMX/SSE test

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1204 c046a42c-6fe2-441c-8c8c-71466251a162

8d5f07fa 10/05/2004 12:23 am bellard

sparc merge (Blue Swirl)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1098 c046a42c-6fe2-441c-8c8c-71466251a162

bbc9d348 04/27/2004 12:15 am bellard

update

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@771 c046a42c-6fe2-441c-8c8c-71466251a162

039d3da3 04/24/2004 03:11 am bellard

added user mode libqemu usage example

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@739 c046a42c-6fe2-441c-8c8c-71466251a162

b5075d29 04/23/2004 12:37 am bellard

more imul tests

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@737 c046a42c-6fe2-441c-8c8c-71466251a162

68e73e39 01/25/2004 05:47 pm bellard

clean tests dir

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@590 c046a42c-6fe2-441c-8c8c-71466251a162

546cdbd7 01/04/2004 06:08 pm bellard

first multi target test (lauches 'ls')

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@500 c046a42c-6fe2-441c-8c8c-71466251a162

03d5f74a 10/28/2003 02:09 am bellard

update

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@419 c046a42c-6fe2-441c-8c8c-71466251a162

9d16dd55 10/28/2003 01:56 am bellard

make cpu test static

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@415 c046a42c-6fe2-441c-8c8c-71466251a162

626df76a 08/11/2003 12:39 am bellard

build all targets at the same time

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@352 c046a42c-6fe2-441c-8c8c-71466251a162

144c345d 06/15/2003 11:42 pm bellard

consistent hello naming

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@247 c046a42c-6fe2-441c-8c8c-71466251a162

394411ac 06/15/2003 10:37 pm bellard

added hello world for ARM

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@231 c046a42c-6fe2-441c-8c8c-71466251a162

d3032929 06/09/2003 06:30 pm bellard

removed unused dependancy if non x86

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@222 c046a42c-6fe2-441c-8c8c-71466251a162

5132455e 05/16/2003 04:58 pm bellard

test-i386 update

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@176 c046a42c-6fe2-441c-8c8c-71466251a162

3c51961e 04/30/2003 12:34 am bellard

update

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@120 c046a42c-6fe2-441c-8c8c-71466251a162

7fb9a24e 04/11/2003 03:13 am bellard

update

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@92 c046a42c-6fe2-441c-8c8c-71466251a162

f48c3dd5 04/08/2003 12:30 am bellard

-statis for test-i386

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@72 c046a42c-6fe2-441c-8c8c-71466251a162

c3c7c292 03/29/2003 06:44 pm bellard

added runcom

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@50 c046a42c-6fe2-441c-8c8c-71466251a162

d691f669 03/24/2003 11:58 pm bellard

glibc2.2 fixes - more command line options - misc doc fixes

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@46 c046a42c-6fe2-441c-8c8c-71466251a162

3ef693a0 03/23/2003 10:17 pm bellard

distribution patches

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@44 c046a42c-6fe2-441c-8c8c-71466251a162

1b6b029e 03/22/2003 07:31 pm bellard

basic clone() support

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@40 c046a42c-6fe2-441c-8c8c-71466251a162

e5918247 03/22/2003 05:20 pm bellard

added code16 tests

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@37 c046a42c-6fe2-441c-8c8c-71466251a162

04369ff2 03/21/2003 12:33 am bellard

ppc port

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@36 c046a42c-6fe2-441c-8c8c-71466251a162

7d13299d 03/07/2003 01:23 am bellard

added translation cache

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@25 c046a42c-6fe2-441c-8c8c-71466251a162

c5e9815d 03/06/2003 12:24 am bellard

added bcd tests

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@22 c046a42c-6fe2-441c-8c8c-71466251a162

9d8e9c09 03/05/2003 10:57 pm bellard

bsx/float tests

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@21 c046a42c-6fe2-441c-8c8c-71466251a162

d57c4e01 03/04/2003 03:14 am bellard

added shiftd support - improved auto test

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@20 c046a42c-6fe2-441c-8c8c-71466251a162

4b74fe1f 03/04/2003 01:23 am bellard

many fixes

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@19 c046a42c-6fe2-441c-8c8c-71466251a162

367e86e8 03/01/2003 07:13 pm bellard

new x86 CPU core

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@14 c046a42c-6fe2-441c-8c8c-71466251a162

379ca80d 02/25/2003 01:43 am bellard

added shift tests

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@12 c046a42c-6fe2-441c-8c8c-71466251a162

4d1135e4 02/24/2003 10:14 pm bellard

i386 emulator test

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@11 c046a42c-6fe2-441c-8c8c-71466251a162