1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-02-02 13:47:13 +03:00

docs: hacking: demonstrate the powers of VIR_TEST_RANGE

Mention a more complex example.

Invoke the test without 'make' since the mentioned example
does not seem to be working anymore.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
Ján Tomko 2019-10-18 23:03:27 +02:00
parent 1e8446024a
commit fe9b3e1cdc

View File

@ -179,12 +179,13 @@
<p> <p>
When debugging failures during development, it is possible When debugging failures during development, it is possible
to focus in on just the failing subtests by using TESTS and to focus in on just the failing subtests by using
VIR_TEST_RANGE: VIR_TEST_RANGE. I.e. to run all tests from 3 to 20 with the
exception of tests 6 and 16, use:
</p> </p>
<pre> <pre>
make check VIR_TEST_DEBUG=1 VIR_TEST_RANGE=3-5 TESTS=qemuxml2argvtest VIR_TEST_DEBUG=1 VIR_TEST_RANGE=3-5,7-20,^16 ./run tests/qemuxml2argvtest
</pre> </pre>
<p> <p>