Statistics
| Branch: | Revision:

root / tests @ 148954fa

Name Size
  alpha
  cris
Makefile 3.7 kB
hello-arm.c 3.1 kB
hello-i386.c 574 Bytes
hello-mips.c 1.6 kB
linux-test.c 12.7 kB
pi_10.com 54 Bytes
qruncom.c 7.2 kB
runcom.c 4.9 kB
sha1.c 7.4 kB
test-arm-iwmmxt.s 779 Bytes
test-i386-code16.S 1.3 kB
test-i386-muldiv.h 2.1 kB
test-i386-shift.h 4.7 kB
test-i386-ssse3.c 1.8 kB
test-i386-vm86.S 1.8 kB
test-i386.c 70.2 kB
test-i386.h 3.4 kB
test-mmap.c 12.4 kB
test_path.c 4.7 kB
testthread.c 1019 Bytes

Latest revisions

# Date Author Comment
8da91fff 02/20/2011 07:45 pm Stefan Weil

tests: Fix two memory leaks

Although both leaks are not really important, fix them
to avoid cppcheck warnings:

tests/linux-test.c:433: error: Memory leak: stack1
tests/linux-test.c:433: error: Memory leak: stack2

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

64b85a8f 01/23/2011 06:21 pm Blue Swirl

Delete useless 'extern' qualifiers for functions

'extern' qualifier is useless for function declarations. Delete
them.

Signed-off-by: Blue Swirl <>

4a6648f4 01/17/2011 10:26 pm Blue Swirl

Replace 'extern inline' with 'static inline'

Acked-by: Edgar E. Iglesias <>
Signed-off-by: Blue Swirl <>

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

e311248b 10/23/2010 05:47 pm Paolo Bonzini

make runcom compile on recent distributions

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

f34f1fed 10/23/2010 05:46 pm Paolo Bonzini

disable test_enter on i386, it is broken

Many other tests fail, but this has an infinite loop with both
qemu-i386 and native execution (albeit on x86_64), so there is
something more going on. I'm not going to debug it now, so just
disable the test.

Signed-off-by: Paolo Bonzini <>...

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

46411f86 09/14/2010 11:58 am Stefan Weil

Remove wrong semicolon in macro definition

Macros normally should not end with a semicolon,
otherwise their usage results in two statements
where only one statement was expected.

Signed-off-by: Stefan Weil <>
Signed-off-by: Edgar E. Iglesias <>

View revisions

Also available in: Atom