On 21/9/26 22:49, Pierrick Bouvier wrote:
Now we are able to link multiple targets together, we want to make sure
no build regression is introduced. For this, add a new unit test linking
compatible targets.
In addition, we check QOM types can be initialized, ensuring uniqueness
among all targets.
For now, supported targets are:
- arm-softmmu
- aarch64-softmmu
- microblaze-softmmu
Signed-off-by: Pierrick Bouvier <[email protected]>
---
MAINTAINERS | 1 +
include/qemu/target-info-qom.h | 1 +
meson.build | 23 +++++++++++++++
target-info-qom.c | 5 ++++
tests/unit/meson.build | 12 ++++++++
tests/unit/test-multi-target.c | 53 ++++++++++++++++++++++++++++++++++
6 files changed, 95 insertions(+)
create mode 100644 tests/unit/test-multi-target.c
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>