qemu-e2k/tests/tcg
Paolo Bonzini bb52a8a278 tests/tcg: compile system emulation tests as freestanding
System emulation tests do not run in a hosted environment, since they
do not link with libc.  They should only use freestanding headers
(float.h, limits.h, stdarg.h, stddef.h, stdbool.h, stdint.h,
stdalign.h, stdnoreturn.h) and should be compiled with -ffreestanding
in order to use the compiler implementation of those headers
rather than the one in libc.

Some tests are using inttypes.h instead of stdint.h, so fix that.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-07-06 09:31:16 +02:00
..
aarch64 tests/tcg: compile system emulation tests as freestanding 2022-07-06 09:31:16 +02:00
alpha
arm test/tcg/arm: Use -mfloat-abi=soft for test-armv6m-undef 2022-06-14 00:14:59 +01:00
cris
hexagon Hexagon (target/hexagon) assignment to c4 should wait until packet commit 2022-03-12 09:14:22 -08:00
hppa
i386 tests/tcg/i386: Use explicit suffix on fist insns 2022-06-14 00:15:04 +01:00
loongarch64 tests/tcg/loongarch64: Add hello/memory test in loongarch64 system 2022-06-06 18:14:13 +00:00
m68k tests/tcg/m68k: Add trap.c 2022-06-02 09:35:03 +02:00
minilib
mips
multiarch tests/tcg: compile system emulation tests as freestanding 2022-07-06 09:31:16 +02:00
nios2 tests/tcg/nios2: Add test-shadow-1 2022-04-26 08:17:10 -07:00
openrisc
ppc
ppc64 tests/tcg: add compiler test variables when using containers 2022-04-20 16:04:20 +01:00
ppc64le tests/tcg: add compiler test variables when using containers 2022-04-20 16:04:20 +01:00
riscv64 target/riscv: Set env->bins in gen_exception_illegal 2022-07-03 10:03:20 +10:00
s390x tests/tcg/s390x: Test unwinding from signal handlers 2022-05-23 22:52:27 +02:00
sh4
sparc64
tricore
x86_64 Fix 'writeable' typos 2022-06-08 19:38:47 +01:00
xtensa tests/tcg/xtensa: fix vectors and checks in timer test 2022-05-06 15:27:40 -07:00
Makefile.target tests/tcg: compile system emulation tests as freestanding 2022-07-06 09:31:16 +02: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.

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