aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2024-07-24 14:45:53 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-07-31 00:13:59 +0200
commitd4181658dfb66b89e304077e89d8d173b1201ff6 (patch)
tree998b1509a88736a4d50ea327d8fe4d0d9a9c9f8b /docs
parentef009e4b4dc0421464008e6e303b892141ede579 (diff)
downloadqemu-d4181658dfb66b89e304077e89d8d173b1201ff6.zip
qemu-d4181658dfb66b89e304077e89d8d173b1201ff6.tar.gz
qemu-d4181658dfb66b89e304077e89d8d173b1201ff6.tar.bz2
docs: add test for firmware.json QAPI
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> Acked-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20240724-qapi-firmware-json-v7-1-12341f7e362d@linutronix.de> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'docs')
-rw-r--r--docs/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/meson.build b/docs/meson.build
index 9040f86..322452c 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', qapi_gen,
+ args: ['-o', meson.current_build_dir() / 'qapi',
+ meson.current_source_dir() / 'interop/firmware.json'],
+ suite: ['qapi-schema', 'qapi-interop'])