On 7/6/26 15:32, Pierrick Bouvier wrote:
Every target declare its tests, and add them in global tcg_tests
dictionary, indexed by target name. See comment for full description.

We make sure that if a user repeats a test several time it won't result
in duplicated executables or tests. In next commits, we'll introduce
what's needed to deal with that.

A test is compiled from a single source file (and later, a single set of
compile flags). We make sure dependencies are correctly handled by
generating a depfile.

Signed-off-by: Pierrick Bouvier<[email protected]>
---
  tests/meson.build     |  2 +-
  tests/tcg/meson.build | 95 +++++++++++++++++++++++++++++++++++++++++++
  2 files changed, 96 insertions(+), 1 deletion(-)
  create mode 100644 tests/tcg/meson.build

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to