qemu/tests/tcg
Bastian Koppelmann 2d934b5951 tests/tcg/tricore: Add macros to create tests and first test 'abs'
This kind of tests is inspired by the riscv-tests repository. This adds
macros that makes it easy to create single instruction self containing
tests.

It is achieved by macros that create a test sequence for an
instruction and check for a supplied correct value. If the value is correct the
next instruction is tested. Otherwise we jump to fail handler that writes is
test number as a status code back to qemu that then exits on that status code.
If all tests pass we write back 0 as a status code and exit.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-Id: <20210305170045.869437-7-kbastian@mail.uni-paderborn.de>
[AJB: add container_hosts]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210512102051.12134-17-alex.bennee@linaro.org>
2021-05-18 09:36:21 +01:00
..
aarch64 test/tcg/aarch64: Add mte-5 2021-04-30 11:16:49 +01:00
alpha tests/tcg: move configuration to a sub-shell script 2019-09-10 14:09:00 +01:00
arm semihosting: move semihosting tests to multiarch 2021-03-24 14:25:03 +00:00
cris tests/tcg: add a multiarch linux-user gdb test 2020-05-06 09:29:26 +01:00
hexagon Hexagon (target/hexagon) CABAC decode bin 2021-05-01 16:06:11 -07:00
hppa tests/tcg: move configuration to a sub-shell script 2019-09-10 14:09:00 +01:00
i386 tests/tcg/i386: force -fno-pie for test-i386 2021-04-06 15:04:42 +01:00
m68k tests/tcg: move configuration to a sub-shell script 2019-09-10 14:09:00 +01:00
minilib tests/tcg: use EXTRA_CFLAGS everywhere 2019-09-10 09:38:33 +01:00
mips tests/tcg: move configuration to a sub-shell script 2019-09-10 14:09:00 +01:00
multiarch tests/tcg: relax the next step precision of the gdb sha1 test 2021-04-06 15:04:42 +01:00
openrisc target/openrisc: Rename the cpu from or32 to or1k 2017-02-14 08:14:58 +11:00
ppc tests/tcg: move configuration to a sub-shell script 2019-09-10 14:09:00 +01:00
ppc64 target/ppc: Fix bcdsub. emulation when result overflows 2021-03-10 09:07:09 +11:00
ppc64le target/ppc: Fix bcdsub. emulation when result overflows 2021-03-10 09:07:09 +11:00
riscv64 semihosting: move semihosting tests to multiarch 2021-03-24 14:25:03 +00:00
s390x tests/tcg/s390x: Fix EXRL tests 2021-01-21 11:19:45 +01:00
sh4 tests/tcg: move configuration to a sub-shell script 2019-09-10 14:09:00 +01:00
sparc64 tests/tcg: move configuration to a sub-shell script 2019-09-10 14:09:00 +01:00
tricore tests/tcg/tricore: Add macros to create tests and first test 'abs' 2021-05-18 09:36:21 +01:00
x86_64 tests/plugin: expand insn test to detect duplicate instructions 2021-02-18 08:19:23 +00:00
xtensa tests/tcg/xtensa: add DFP0 arithmetic tests 2020-08-21 12:48:16 -07:00
configure.sh tests/tcg/tricore: Add macros to create tests and first test 'abs' 2021-05-18 09:36:21 +01:00
Makefile.prereqs tests/tcg: ensure we re-configure if configure.sh is updated 2019-12-19 08:20:16 +00:00
Makefile.qemu tests/tcg: Add docker_as and docker_ld cmds 2021-05-18 09:36:21 +01:00
Makefile.target tests/tcg: Run timeout cmds using --foreground 2021-05-18 09:36:21 +01:00
README Drop the deprecated lm32 target 2021-05-12 18:20:25 +02:00

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.

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