]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
docs/interop: Add test to keep vhost-user.json sane
authorMarkus Armbruster <armbru@redhat.com>
Mon, 3 Nov 2025 08:23:54 +0000 (09:23 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 4 Nov 2025 12:35:00 +0000 (13:35 +0100)
We did this for firmware.json in commit d4181658dfb (docs: add test
for firmware.json QAPI).

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-ID: <20251103082354.3273027-10-armbru@redhat.com>

docs/meson.build

index 3676f81c4d3235bf9fa62a441bc44960f9f09d99..7e54b01e6a0c5404fce8ed01ab366ae85d1411ae 100644 (file)
@@ -99,7 +99,12 @@ if build_docs
   alias_target('man', sphinxmans)
 endif
 
-test('QAPI firmware.json regression tests', qapi_gen,
-     args: ['-o', meson.current_build_dir() / 'qapi',
+test('QAPI firmware.json regression test', qapi_gen,
+     args: ['-o', meson.current_build_dir() / 'qapi-firmware',
             meson.current_source_dir() / 'interop/firmware.json'],
      suite: ['qapi-schema', 'qapi-interop'])
+
+test('QAPI vhost-user.json regression test', qapi_gen,
+     args: ['-o', meson.current_build_dir() / 'qapi-vhost-user',
+            meson.current_source_dir() / 'interop/vhost-user.json'],
+     suite: ['qapi-schema', 'qapi-interop'])