qemu-e2k/tests/tcg
Khem Raj 04b33e2186 Replace 'struct ucontext' with 'ucontext_t' type
glibc used to have:

   typedef struct ucontext { ... } ucontext_t;

glibc now has:

   typedef struct ucontext_t { ... } ucontext_t;

(See https://sourceware.org/bugzilla/show_bug.cgi?id=21457
 for detail and rationale for the glibc change)

However, QEMU used "struct ucontext" in declarations. This is a
private name and compatibility cannot be guaranteed. Switch to
only using the standardized type name.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Message-id: 20170628204452.41230-1-raj.khem@gmail.com
Cc: Kamil Rytarowski <kamil@netbsd.org>
Cc: Riku Voipio <riku.voipio@iki.fi>
Cc: Laurent Vivier <laurent@vivier.eu>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[PMM: Rewrote commit message, based mostly on the one from
 Nathaniel McCallum]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2017-07-20 10:10:28 +01:00
..
alpha tests: mv tests/* -> tests/tcg 2012-01-12 10:03:28 -06:00
cris tests: Avoid non-portable 'echo -ARG' 2017-07-11 17:45:00 +02:00
lm32 test: lm32: use semihosting for testing 2014-05-24 19:42:29 +02:00
mips target-mips: correct the values in the DSP tests 2013-07-30 17:48:24 +02:00
openrisc target/openrisc: Rename the cpu from or32 to or1k 2017-02-14 08:14:58 +11:00
xtensa target/xtensa: tests: clean up interrupt tests 2017-01-15 13:36:09 -08:00
Makefile tests/tcg: Fix compilation of test_path 2014-05-07 21:00:43 +04:00
README qemu-tech: move TCG test documentation to tests/tcg/README 2016-10-07 10:05:30 +02:00
hello-arm.c tests: mv tests/* -> tests/tcg 2012-01-12 10:03:28 -06:00
hello-i386.c tests/tcg: fix a few warnings 2012-10-27 14:37:25 +00:00
hello-mips.c tests: mv tests/* -> tests/tcg 2012-01-12 10:03:28 -06:00
linux-test.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
pi_10.com tests: mv tests/* -> tests/tcg 2012-01-12 10:03:28 -06:00
runcom.c tests: mv tests/* -> tests/tcg 2012-01-12 10:03:28 -06:00
sha1.c tests: mv tests/* -> tests/tcg 2012-01-12 10:03:28 -06:00
test-arm-iwmmxt.s tests: mv tests/* -> tests/tcg 2012-01-12 10:03:28 -06:00
test-i386-code16.S tests: mv tests/* -> tests/tcg 2012-01-12 10:03:28 -06:00
test-i386-fprem.c Clean up includes some more 2016-03-22 22:20:16 +01:00
test-i386-muldiv.h tests: mv tests/* -> tests/tcg 2012-01-12 10:03:28 -06:00
test-i386-shift.h tests: mv tests/* -> tests/tcg 2012-01-12 10:03:28 -06:00
test-i386-ssse3.c tests: mv tests/* -> tests/tcg 2012-01-12 10:03:28 -06:00
test-i386-vm86.S tests: mv tests/* -> tests/tcg 2012-01-12 10:03:28 -06:00
test-i386.c Replace 'struct ucontext' with 'ucontext_t' type 2017-07-20 10:10:28 +01:00
test-i386.h tests: mv tests/* -> tests/tcg 2012-01-12 10:03:28 -06:00
test-mmap.c tests/tcg: fix unused result warnings 2012-10-30 18:55:02 +00:00
test_path.c tests/tcg: Fix compilation of test_path 2014-05-07 21:00:43 +04:00
testthread.c maint: remove unused include for signal.h 2015-09-11 10:21:38 +03:00

README

This directory contains various interesting programs for
regression testing.

The target "make test" runs the programs and, if applicable,
runs "diff" to detect mismatches between output on the host and
output on QEMU.

i386
====

test-i386
---------

This program executes most of the 16 bit and 32 bit x86 instructions and
generates a text output, for comparison with the output obtained with
a real CPU or another emulator.

The Linux system call modify_ldt() is used to create x86 selectors
to test some 16 bit addressing and 32 bit with segmentation cases.

The Linux system call vm86() is used to test vm86 emulation.

Various exceptions are raised to test most of the x86 user space
exception reporting.

linux-test
----------

This program tests various Linux system calls. It is used to verify
that the system call parameters are correctly converted between target
and host CPUs.

test-i386-fprem
---------------

runcom
------

test-mmap
---------

sha1
----

hello-i386
----------


ARM
===

hello-arm
---------

test-arm-iwmmxt
---------------

MIPS
====

hello-mips
----------

hello-mipsel
------------

CRIS
====
The testsuite for CRIS is in tests/tcg/cris.  You can run it
with "make test-cris".

LM32
====
The testsuite for LM32 is in tests/tcg/cris.  You can run it
with "make test-lm32".