From 87c216d9492476c28eb306b8f4ba22a1269849cf Mon Sep 17 00:00:00 2001 From: Thanos Makatos <thanos.makatos@nutanix.com> Date: Mon, 3 Oct 2022 11:40:04 +0100 Subject: 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> --- docs/testing.md | 7 +++++++ 1 file changed, 7 insertions(+) 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++ ----- -- cgit v1.1