docs: add test for firmware.json QAPI

To make sure that the QAPI description stays valid, add a testcase.

Suggested-by: Philippe Mathieu-Daudé <[email protected]>
Link: https://lore.kernel.org/qemu-devel/[email protected]/
Reviewed-by: Daniel P. Berrangé <[email protected]>
Acked-by: Markus Armbruster <[email protected]>
Signed-off-by: Thomas Weißschuh <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
This commit is contained in:
Thomas Weißschuh authored and Philippe Mathieu-Daudé committed 2024-07-31 00:13:59 +02:00
1 parent ef009e4b4d
commit d4181658df
1 file changed
+5
+5
View File
@@ -99,3 +99,8 @@ if build_docs
alias_target('html', sphinxdocs)
alias_target('man', sphinxmans)
endif
test('QAPI firmware.json regression tests', qapi_gen,
args: ['-o', meson.current_build_dir() / 'qapi',
meson.current_source_dir() / 'interop/firmware.json'],
suite: ['qapi-schema', 'qapi-interop'])