mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
tests: Replace mentions of the removed 'qemucapabilitiesnumbering' tool
Mention the new 'scripts/qemu-replies-tool.py'. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
@@ -483,9 +483,8 @@ mymain(void)
|
|||||||
* Run "tests/qemucapsprobe /path/to/qemu/binary >foo.replies"
|
* Run "tests/qemucapsprobe /path/to/qemu/binary >foo.replies"
|
||||||
* to generate updated or new *.replies data files.
|
* to generate updated or new *.replies data files.
|
||||||
*
|
*
|
||||||
* If you manually edit replies files you can run
|
* If you manually edit replies files or want to edit them programmaticaly
|
||||||
* VIR_TEST_REGENERATE_OUTPUT=1 tests/qemucapabilitiesnumbering
|
* use scripts/qemu-replies-tool --regenerate
|
||||||
* to fix the replies ids.
|
|
||||||
*
|
*
|
||||||
* Once a replies file has been generated and tweaked if necessary,
|
* Once a replies file has been generated and tweaked if necessary,
|
||||||
* you can drop it into tests/qemucapabilitiesdata/ (with a sensible
|
* you can drop it into tests/qemucapabilitiesdata/ (with a sensible
|
||||||
|
|||||||
@@ -109,12 +109,10 @@ file on a code change causing a change to the actual QMP query process.
|
|||||||
|
|
||||||
In such case a careful manual modification of the ``.replies`` is tolerated.
|
In such case a careful manual modification of the ``.replies`` is tolerated.
|
||||||
|
|
||||||
To aid such modification the tool ``tests/qemucapabilitiesnumbering`` can be
|
To aid such modification the tool ``scripts/qemu-replies-tool.py`` can be
|
||||||
used.
|
used.
|
||||||
|
|
||||||
The tool validates and updates the numbering of the entries in the QMP dump in
|
The tool validates and updates the numbering of the entries in the QMP dump in
|
||||||
case something was modified.
|
case something was modified.
|
||||||
|
|
||||||
The tool also allows programatic modification of the ``.replies`` file.
|
The tool also allows programatic modification of the ``.replies`` file.
|
||||||
|
|
||||||
See ``tests/qemucapabilitiesnumbering.c``.
|
|
||||||
|
|||||||
Reference in New Issue
Block a user