xemu/tests/tcg
Paolo Bonzini cd362defbb tests/tcg: merge configure.sh back into main configure script
tests/tcg/configure.sh has a complicated story.

In the beginning its code ran as part of the creation of config-target.mak
files, and that is where it placed the information on the target compiler.
However, probing for the buildability of TCG tests required multiple
inclusions of config-target.mak in the _main_ Makefile (not in
Makefile.target, which took care of building the QEMU executables in
the pre-Meson era), which polluted the namespace.

Thus, it was moved to a separate directory.  It created small config-*.mak
files in $(BUILD_DIR)/tests/tcg.  Those were also included multiple
times, but at least they were small and manageable; this was also an
important step in disentangling the TCG tests from Makefile.target.

Since then, Meson has allowed the configure script to go on a diet.
A few compilation tests survive (mostly for sanitizers) but these days
it mostly takes care of command line parsing, looking for tools, and
setting up the environment for Meson to do its stuff.

It's time to extend configure with the capability to build for more
than just one target: not just tests, but also firmware.  As a first
step, integrate all the logic to find cross compilers in the configure
script, and move tests/tcg/configure.sh back there (though as a
separate loop, not integrated in the one that generates target
configurations for Meson).

tests/tcg is actually very close to being buildable as a standalone
project, so I actually expect the compiler tests to move back to
tests/tcg, as a "configure" script of sorts which would run at Make
time after the docker images are built.  The GCC tree has a similar idea
of doing only bare-bones tree-wide configuration and leaving the rest
for Make time.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220517092616.1272238-8-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220527153603.887929-19-alex.bennee@linaro.org>
2022-06-01 15:47:43 +01:00
..
aarch64 target/arm: Enable SCTLR_EL1.BT0 for aarch64-linux-user 2022-05-05 09:35:50 +01:00
alpha tests/tcg: move configuration to a sub-shell script 2019-09-10 14:09:00 +01:00
arm tests/tcg: add float_convd test 2022-04-20 16:04:20 +01:00
cris tests/tcg: add a multiarch linux-user gdb test 2020-05-06 09:29:26 +01:00
hexagon Hexagon (target/hexagon) assignment to c4 should wait until packet commit 2022-03-12 09:14:22 -08:00
hppa target/hppa: Fix atomic_store_3 for STBY 2021-12-30 21:40:47 -08:00
i386 tests/tcg: add missing reference files for float_convs 2022-04-20 16:04:20 +01:00
m68k tests/tcg: move configuration to a sub-shell script 2019-09-10 14:09:00 +01:00
minilib Remove leading underscores from QEMU defines 2021-06-21 05:49:01 +02:00
mips tests/tcg: move configuration to a sub-shell script 2019-09-10 14:09:00 +01:00
multiarch tests/tcg: add float_convd test 2022-04-20 16:04:20 +01:00
nios2 tests/tcg/nios2: Add test-shadow-1 2022-04-26 08:17:10 -07: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 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 tests/tcg/riscv64: Add test for division 2021-09-01 11:59:12 +10:00
s390x tests/tcg/s390x: Test unwinding from signal handlers 2022-05-23 22:52:27 +02:00
sh4 tests/tcg: completely disable threadcount for sh4 2022-02-28 16:42:35 +00:00
sparc64 tests/tcg/sparc64: Re-enable linux-test 2021-05-15 21:43:23 +02:00
tricore tests/tcg/tricore: Add muls test 2021-05-18 09:36:21 +01:00
x86_64 tests/tcg: add missing reference files for float_convs 2022-04-20 16:04:20 +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: isolate from QEMU's config-host.mak 2022-04-20 16:04:20 +01:00
README Drop the deprecated lm32 target 2021-05-12 18:20:25 +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".