aboutsummaryrefslogtreecommitdiff
path: root/docs/devel/testing.rst
diff options
context:
space:
mode:
authorEmanuele Giuseppe Esposito <eesposit@redhat.com>2021-08-09 11:01:02 +0200
committerHanna Reitz <hreitz@redhat.com>2021-09-01 12:57:31 +0200
commit0193767b25340ac6ea6e6ecfbc0c3d1c25c153ef (patch)
treec06a984c8f3ea80f43e14e11e2c28f3b43b10382 /docs/devel/testing.rst
parent804f7695e535da902c1c5159cf53756f182aceb4 (diff)
downloadqemu-0193767b25340ac6ea6e6ecfbc0c3d1c25c153ef.zip
qemu-0193767b25340ac6ea6e6ecfbc0c3d1c25c153ef.tar.gz
qemu-0193767b25340ac6ea6e6ecfbc0c3d1c25c153ef.tar.bz2
docs/devel/testing: add debug section to the QEMU iotests chapter
Introduce the "Debugging a test case" section, in preparation to the additional flags that will be added in the next patches. Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-Id: <20210809090114.64834-5-eesposit@redhat.com> Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Diffstat (limited to 'docs/devel/testing.rst')
-rw-r--r--docs/devel/testing.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst
index 8a9cda3..8359f2a 100644
--- a/docs/devel/testing.rst
+++ b/docs/devel/testing.rst
@@ -224,6 +224,14 @@ another application on the host may have locked the file, possibly leading to a
test failure. If using such devices are explicitly desired, consider adding
``locking=off`` option to disable image locking.
+Debugging a test case
+-----------------------
+The following options to the ``check`` script can be useful when debugging
+a failing test:
+
+* ``-d`` (debug) just increases the logging verbosity, showing
+ for example the QMP commands and answers.
+
Test case groups
----------------