mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
docs: mention VIR_TEST_RANGE
Commit ab92ae333 added a cool feature, but didn't document it. * docs/hacking.html.in: Document debugging a subset of tests. * HACKING: Regenerate. Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
3be7a30426
commit
70547bacae
5
HACKING
5
HACKING
@ -123,6 +123,11 @@ VIR_TEST_DEBUG may provide larger amounts of information:
|
|||||||
VIR_TEST_DEBUG=1 make check (or)
|
VIR_TEST_DEBUG=1 make check (or)
|
||||||
VIR_TEST_DEBUG=2 make check
|
VIR_TEST_DEBUG=2 make check
|
||||||
|
|
||||||
|
When debugging failures during development, it is possible to focus in on just
|
||||||
|
the failing subtests by using TESTS and VIR_TEST_RANGE:
|
||||||
|
|
||||||
|
make check VIR_TEST_DEBUG=1 VIR_TEST_RANGE=3-5 TESTS=qemuxml2argvtest
|
||||||
|
|
||||||
Also, individual tests can be run from inside the "tests/" directory, like:
|
Also, individual tests can be run from inside the "tests/" directory, like:
|
||||||
|
|
||||||
./qemuxml2xmltest
|
./qemuxml2xmltest
|
||||||
|
@ -141,6 +141,17 @@
|
|||||||
VIR_TEST_DEBUG=1 make check (or)
|
VIR_TEST_DEBUG=1 make check (or)
|
||||||
VIR_TEST_DEBUG=2 make check
|
VIR_TEST_DEBUG=2 make check
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
When debugging failures during development, it is possible
|
||||||
|
to focus in on just the failing subtests by using TESTS and
|
||||||
|
VIR_TEST_RANGE:
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<pre>
|
||||||
|
make check VIR_TEST_DEBUG=1 VIR_TEST_RANGE=3-5 TESTS=qemuxml2argvtest
|
||||||
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Also, individual tests can be run from inside the <code>tests/</code>
|
Also, individual tests can be run from inside the <code>tests/</code>
|
||||||
directory, like:
|
directory, like:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user