libvirt/scripts/meson.build
Peter Krempa 2866c1a457 scripts: Add 'qemu-replies-tool' script for testing and modifying data for qemucapabilitiestest
The tool in the current shape functionally replaces
tests/qemucapabilitiesnumbering.c

It validates that the output '.replies' files conform to how we generate
them from qemu and also allows programmatic modification of the
'.replies' files if re-generation is not feasible any more.

The main advantage is that JSON objects are parsed into native python
types and thus the programatic modification is much more convenient.

The tool will be later extended to also do validation that we properly
handle the whole of QMP schema as well as help in reviewing the
differences in the .replies file after qemu updates.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
2024-02-01 10:39:40 +01:00

43 lines
970 B
Meson

scripts = [
'apibuild.py',
'augeas-gentest.py',
'check-aclperms.py',
'check-aclrules.py',
'check-driverimpls.py',
'check-drivername.py',
'check-file-access.py',
'check-html-references.py',
'check-remote-protocol.py',
'check-symfile.py',
'check-symsorting.py',
'dtrace2systemtap.py',
'esx_vi_generator.py',
'genaclperms.py',
'genpolkit.py',
'gensystemtap.py',
'group-qemu-caps.py',
'header-ifdef.py',
'hvsupport.py',
'hyperv_wmi_generator.py',
'merge-systemd-units.py',
'meson-dist.py',
'meson-gen-authors.py',
'meson-gen-def.py',
'meson-gen-sym.py',
'meson-install-dirs.py',
'meson-install-symlink.py',
'meson-install-web.py',
'meson-python.sh',
'meson-timestamp.py',
'mock-noinline.py',
'prohibit-duplicate-header.py',
'qemu-replies-tool.py',
]
foreach name : scripts
sname = name.split('.')[0].underscorify()
set_variable('@0@_prog'.format(sname), find_program(name))
endforeach
subdir('rpcgen')