[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 4/4] docs: add test for firmware.json QAPI
From: |
Markus Armbruster |
Subject: |
Re: [PATCH v6 4/4] docs: add test for firmware.json QAPI |
Date: |
Fri, 19 Jul 2024 14:38:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Thomas Weißschuh <thomas.weissschuh@linutronix.de> writes:
> To make sure that the QAPI description stays valid, add a testcase.
>
> Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> Link:
> https://lore.kernel.org/qemu-devel/d9ce0234-4beb-4b90-b14c-76810d3b81d7@linaro.org/
> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
> ---
> docs/meson.build | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/docs/meson.build b/docs/meson.build
> index 9040f860ae1a..bcca45a342a3 100644
> --- a/docs/meson.build
> +++ b/docs/meson.build
> @@ -99,3 +99,8 @@ if build_docs
> alias_target('html', sphinxdocs)
> alias_target('man', sphinxmans)
> endif
> +
> +test('QAPI firmware.json regression tests', python,
> + args: [qapi_gen.full_path(), '-o', meson.current_build_dir() / 'qapi',
> + meson.current_source_dir() / 'interop/firmware.json'],
> + env: test_env, suite: ['qapi-schema', 'qapi-interop'])
Acked-by: Markus Armbruster <armbru@redhat.com>
- [PATCH v6 0/4] docs/interop/firmware.json: scripts/qapi-gen.py compatibility, Thomas Weißschuh, 2024/07/19
- [PATCH v6 2/4] docs/interop/firmware.json: add new enum FirmwareArchitecture, Thomas Weißschuh, 2024/07/19
- [PATCH v6 3/4] docs/interop/firmware.json: convert "Example" section, Thomas Weißschuh, 2024/07/19
- [PATCH v6 4/4] docs: add test for firmware.json QAPI, Thomas Weißschuh, 2024/07/19
- [PATCH v6 1/4] docs/interop/firmware.json: add new enum FirmwareFormat, Thomas Weißschuh, 2024/07/19
- Re: [PATCH v6 0/4] docs/interop/firmware.json: scripts/qapi-gen.py compatibility, Philippe Mathieu-Daudé, 2024/07/19