xqemu/tests/tcg
Alex Bennée 5aa632d5d9 tests/tcg/multiarch: don't hard code paths/ports for linux-test
The fixed path and ports get in the way of running our tests and
builds in parallel. Instead of using TESTPATH we use mkdtemp() and
instead of a fixed port we allow the kernel to assign one and query it
afterwards.

Ideally test directory creation should be common functionally across
all TCG tests but this could complicate an already huge patch series
so we mark it as a TODO for next time.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2018-06-20 20:22:34 +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
multiarch tests/tcg/multiarch: don't hard code paths/ports for linux-test 2018-06-20 20:22:34 +01:00
openrisc target/openrisc: Rename the cpu from or32 to or1k 2017-02-14 08:14:58 +11:00
xtensa target/xtensa: fix timers test 2018-03-26 14:17:04 -07:00
Makefile tests/tcg: move architecture independent tests into subdir 2018-06-20 20:22:34 +01:00
README tests/tcg: move architecture independent tests into subdir 2018-06-20 20:22:34 +01: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
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
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

README

This directory contains various interesting guest programs for
regression testing. Tests are either multi-arch, meaning they can be
built for all guest architectures that support linux-user executable,
or they are architecture specific.

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