Pierrick Bouvier <[email protected]> writes:

> This series replaces TCG tests makefiles with meson, with the
> goal of having something more readable and maintainable in the long term.
> Also it closes the gap that tcg tests had with the rest of tests, by 
> integrating
> them with meson directly.
>
> It covers all existing tests for all architectures, including
> user/system/multiarch-user/multiarch-system. It implements all requirements
> listed on original thread [1].
>
> [1] https://lore.kernel.org/qemu-devel/[email protected]/
>
> We also have for free:
> - correct and complete dependencies for any test, including:
>   scripts, c.inc, headers, reference files and binaries/plugins.
> - catch test declaration issues at configure time vs test time.
> - proper data types for variables instead of string expansion with make.
>
> Series first introduce the meson machinery needed in tests/tcg/meson.build, 
> step
> by step. Then it adds support for all existing archs. Finally, we remove
> Makefiles and configure bits, and add documentation.
>
> Usage:
>
> ```
> make check-tcg
> make check-tcg-aarch64-linux-user
> make check-tcg-aarch64-softmmu
> make tcg-tests
>
> ninja tcg-tests

This does work but I couldn't see tcg-tests (or individual tests) when
running:

  ninja -C . -t query all

(which is what my Emacs's helper uses to query potential targets from
ninja).

The plugins, unit and qtest tests all appear in the list.

<snip>

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro

Reply via email to