qemu-e2k/tests
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
..
avocado test/avocado/machine_aspeed.py: Add ast1030 test case 2022-05-02 17:03:04 +02:00
bench test/crypto: Add test suite for crypto akcipher 2022-05-26 11:41:54 +01:00
data tests/acpi: Add tables for CXL emulation. 2022-05-13 07:57:26 -04:00
decode
docker tests/docker: update debian-amd64 with lcitool 2022-06-01 15:47:23 +01:00
fp compiler.h: replace QEMU_NORETURN with G_NORETURN 2022-04-21 17:03:51 +04:00
guest-debug tests/guest-debug: better handle gdb crashes 2022-04-20 16:04:20 +01:00
image-fuzzer
include
keys
lcitool tests/docker: update debian-amd64 with lcitool 2022-06-01 15:47:23 +01:00
migration
multiboot
perf/block/qcow2
plugin
qapi-schema qapi-schema: test: add a unit test for parsing array alternates 2022-04-21 10:11:25 +02:00
qemu-iotests qemu-iotests: inline common.config into common.rc 2022-05-12 15:42:49 +02:00
qtest tests: make libqmp buildable for win32 2022-05-28 11:42:56 +02:00
rocker
tcg tests/tcg: merge configure.sh back into main configure script 2022-06-01 15:47:43 +01:00
tsan
uefi-test-tools
unit test/qga: use g_auto wherever sensible 2022-05-28 11:42:56 +02:00
vm tests/vm: Add capstone to the NetBSD and OpenBSD VMs 2022-05-18 08:54:22 +02:00
vmstate-static-checker-data
check-block.sh tests/qemu-iotests: Move the bash and sanitizer checks to meson.build 2022-04-20 09:46:54 +02:00
dbus-vmstate-daemon.sh
Makefile.include tests/tcg: merge configure.sh back into main configure script 2022-06-01 15:47:43 +01:00
meson.build meson: create have_vhost_* variables 2022-05-07 07:46:58 +02:00
requirements.txt
test-qht-par.c
vhost-user-bridge.c Replace qemu_real_host_page variables with inlined functions 2022-04-06 10:50:38 +02:00