aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorThanos Makatos <thanos.makatos@nutanix.com>2022-10-03 11:40:04 +0100
committerGitHub <noreply@github.com>2022-10-03 11:40:04 +0100
commit87c216d9492476c28eb306b8f4ba22a1269849cf (patch)
tree3d5a64867a8c70e07530c6d017d521cf4ca4dfd6 /docs
parent4953810d0d5cb4d8b1e8ff10dbd9e51af8e94897 (diff)
downloadlibvfio-user-87c216d9492476c28eb306b8f4ba22a1269849cf.zip
libvfio-user-87c216d9492476c28eb306b8f4ba22a1269849cf.tar.gz
libvfio-user-87c216d9492476c28eb306b8f4ba22a1269849cf.tar.bz2
document how to run individual Python unit tests (#712)
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> Reviewed-by: John Levon <john.levon@nutanix.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/testing.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/testing.md b/docs/testing.md
index d03cadc..adf2a55 100644
--- a/docs/testing.md
+++ b/docs/testing.md
@@ -74,6 +74,13 @@ meson build
meson test -C build test_quiesce.py
```
+For even better control , use something like the following:
+```
+LIBVFIO_SO_DIR='/root/src/libvfio-user/build/lib' pytest-3 test/py/test_quiesce.py
+```
+
+To print libvfio-user's log messages, append the `--capture=tee-sys` option.
+
AFL++
-----