Re: [OE-core] [PATCH v6 5/6] oeqa/sdk/meson: improve test to validate host/build target assignments

Mathieu Dubois-Briand
2025-04-15T09:12:12Z

On Fri Apr 11, 2025 at 7:28 PM CEST, Tom Hochstein via lists.openembedded.org wrote:
> From: Ross Burton <ross.burton@arm.com>
>
> Use 'meson introspect' to dump JSON describing the build configuration
> and validate that the build and host architectures are correctly set in
> the meson.cross file.
>
> Also instead of calling ninja directly, call the relevant meson commands.
>
> Fixes: [YOCTO #15485]
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
> ---

Hi Tom,

Thanks for the new version, but we still have a failure. Same error I
believe:

Traceback (most recent call last):
File "/srv/pokybuild/yocto-worker/genericarm64/build/meta/lib/oeqa/sdk/cases/meson.py", line 52, in test_epoxy
self.assertNotEqual(data["build"]["c"]["exelist"], data["host"]["c"]["exelist"])
KeyError: 'c'

https://autobuilder.yoctoproject.org/valkyrie/#/builders/60/builds/1384

--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering