]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: Document how to add new replies files
authorAndrea Bolognani <abologna@redhat.com>
Wed, 13 Mar 2019 13:28:07 +0000 (14:28 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 18 Mar 2019 14:49:47 +0000 (15:49 +0100)
We already document how to generate them, so might as well
go the extra mile and document the remaining steps.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Acked-by: Michal Privoznik <mprivozn@redhat.com>
tests/qemucapabilitiestest.c

index 16c2832ffba3a1b9068beb3a1da6f95bcc462aa5..4c9b7c5322ffb02620683dc6e33a504c1cbf9cb2 100644 (file)
@@ -230,6 +230,14 @@ mymain(void)
      *
      * If you manually edit replies files you can run
      * "tests/qemucapsfixreplies foo.replies" to fix the replies ids.
+     *
+     * Once a replies file has been generated and tweaked if necessary,
+     * you can drop it into tests/qemucapabilitiesdata/ (with a sensible
+     * name - look at what's already there for inspiration) and test
+     * programs will automatically pick it up.
+     *
+     * To generate the corresponding output files after a new replies
+     * file has been added, run "VIR_TEST_REGENERATE_OUTPUT=1 make check".
      */
 
     testQemuDataReset(&data);