qemu/tests/tcg
Alex Bennée a113ec989b tests/tcg: provide a minilib for system tests
We will likely want a few common functions to make up for the fact we
don't have a libc and we don't want to feel like we are programming by
banging rocks together.

I've purloined the printf function from:

  https://git.virtualopensystems.com/dev/tcg_baremetal_tests

Although I have tweaked the names to avoid confusing GCC about clashing
with builtins.

Cc: Alexander Spyridakis <a.spyridakis@virtualopensystems.com>
Cc: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2019-03-12 17:05:21 +00:00
..
aarch64 docker: add debian-buster-arm64-cross 2019-02-08 17:32:35 +00:00
alpha avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
arm tests/tcg/arm: add ARMv6-M UNDEFINED 32-bit instruction test 2019-03-12 17:05:21 +00:00
cris tests/tcg: enable cris base user-mode tests 2019-03-12 17:05:21 +00:00
hppa tests/tcg: enable building for HPPA 2018-06-20 20:22:34 +01:00
i386 avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
lm32 test: lm32: use semihosting for testing 2014-05-24 19:42:29 +02:00
m68k tests/tcg: enable building for m68k 2018-06-20 20:22:34 +01:00
minilib tests/tcg: provide a minilib for system tests 2019-03-12 17:05:21 +00:00
mips tests/tcg/mips: fix hello-mips compilation 2019-03-12 17:05:21 +00:00
multiarch avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
openrisc target/openrisc: Rename the cpu from or32 to or1k 2017-02-14 08:14:58 +11:00
ppc tests/tcg: enable building for PowerPC 2018-06-20 20:22:34 +01:00
riscv tests/tcg: enable building for RISCV64 2018-06-20 20:22:34 +01:00
s390x target/s390x: fix PACK reading 1 byte less and writing 1 byte more 2018-08-28 17:37:01 +02:00
sh4 tests/tcg: enable building for sh4 2018-06-20 20:22:34 +01:00
sparc64 tests/tcg: override runners for broken tests 2018-06-20 20:22:34 +01:00
x86_64 tests/tcg/x86_64: add Makefile.target 2018-06-20 20:22:34 +01:00
xtensa tests/tcg/xtensa: enable system tests 2019-03-12 17:05:21 +00:00
Makefile tests/tcg: provide a minilib for system tests 2019-03-12 17:05:21 +00:00
Makefile.include tests/tcg: add softmmu awareness to Makefile 2019-03-12 17:05:21 +00:00
Makefile.probe tests: Fix typos in comments and help message (found by codespell) 2018-10-26 17:17:32 +02:00
README tests/tcg/README: fix location for lm32 tests 2018-10-26 17:17:32 +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".

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