]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: Convert 'testsuites' page to rST
authorPeter Krempa <pkrempa@redhat.com>
Thu, 10 Mar 2022 15:36:15 +0000 (16:36 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 10 Mar 2022 16:52:07 +0000 (17:52 +0100)
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/meson.build
docs/testsuites.html.in [deleted file]
docs/testsuites.rst [new file with mode: 0644]

index d6b944a1562068af2b3b484eac140dccfb5a3971..868267b7649468c2054e9d847874b6613d923f14 100644 (file)
@@ -55,7 +55,6 @@ docs_html_in_files = [
   'python',
   'remote',
   'storage',
-  'testsuites',
   'tlscerts',
   'uri',
   'windows',
@@ -111,6 +110,7 @@ docs_rst_files = [
   'submitting-patches',
   'support',
   'testapi',
+  'testsuites',
   'testtck',
 ]
 
diff --git a/docs/testsuites.html.in b/docs/testsuites.html.in
deleted file mode 100644 (file)
index 2e61684..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml">
-  <body>
-    <h1>Test suites</h1>
-    <p>There is a few test suites available to developers for testing
-    a given version of libvirt:</p>
-    <ul>
-      <li>the internal test suite: present in the source code, it is run
-          by developers before submitting patches upstream, it is also
-          suggested to have it run and pass as part of the packaging
-          process for distributions. It is run by launching:
-          <pre>make check (libvirt 6.6.0 and older)</pre>
-          <pre>ninja test (libvirt 6.7.0 and newer)</pre>
-          in a source tree after compilation has finished. It doesn't
-          really make functional testing but checks that large portions
-          of the code not interacting directly with virtualization
-          functions properly.
-      </li>
-      <li>the <a href="testtck.html">TCK test suite</a> is a functional
-          test suite implemented using the
-          <a href="https://search.cpan.org/dist/Sys-Virt/">Perl bindings</a>
-          of libvirt. It is available separately as a
-          <a href="ftp://libvirt.org/libvirt/tck/">download</a>, as a
-          <a href="https://rpmfind.net/linux/rpm2html/search.php?query=libvirt-tck">package</a>
-          in Fedora distributions, but best is probably to get
-          the <a href="https://gitlab.com/libvirt/libvirt-tck">version
-          from GIT</a>.
-      </li>
-      <li>the <a href="testapi.html">libvirt-test-API</a> is also a functional
-          test suite, but implemented using the
-          <a href="python.html">Python bindings</a>
-          of libvirt. It is available separately as a
-          <a href="ftp://libvirt.org/libvirt/libvirt-test-API/">download</a>,
-          or directly get
-          the <a href="https://gitlab.com/libvirt/libvirt-test-API/">version
-          from GIT</a>.
-      </li>
-    </ul>
-  </body>
-</html>
diff --git a/docs/testsuites.rst b/docs/testsuites.rst
new file mode 100644 (file)
index 0000000..4fc733e
--- /dev/null
@@ -0,0 +1,37 @@
+===========
+Test suites
+===========
+
+There is a few test suites available to developers for testing a given version
+of libvirt:
+
+-  the internal test suite: present in the source code, it is run by developers
+   before submitting patches upstream, it is also suggested to have it run and
+   pass as part of the packaging process for distributions. It is run by
+   launching:
+
+   ::
+
+      make check (libvirt 6.6.0 and older)
+
+   ::
+
+      ninja test (libvirt 6.7.0 and newer)
+
+   in a source tree after compilation has finished. It doesn't really make
+   functional testing but checks that large portions of the code not interacting
+   directly with virtualization functions properly.
+
+-  the `TCK test suite <testtck.html>`__ is a functional test suite implemented
+   using the `Perl bindings <https://search.cpan.org/dist/Sys-Virt/>`__ of
+   libvirt. It is available separately as a
+   `download <ftp://libvirt.org/libvirt/tck/>`__, as a
+   `package <https://rpmfind.net/linux/rpm2html/search.php?query=libvirt-tck>`__
+   in Fedora distributions, but best is probably to get the `version from
+   GIT <https://gitlab.com/libvirt/libvirt-tck>`__.
+
+-  the `libvirt-test-API <testapi.html>`__ is also a functional test suite, but
+   implemented using the `Python bindings <python.html>`__ of libvirt. It is
+   available separately as a
+   `download <ftp://libvirt.org/libvirt/libvirt-test-API/>`__, or directly get
+   the `version from GIT <https://gitlab.com/libvirt/libvirt-test-API/>`__.