From fe9b3e1cdcc79b60ac99d583ee51c52bfa691d0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Fri, 18 Oct 2019 23:03:27 +0200 Subject: [PATCH] docs: hacking: demonstrate the powers of VIR_TEST_RANGE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Daniel P. Berrangé Reviewed-by: Andrea Bolognani --- docs/hacking.html.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/hacking.html.in b/docs/hacking.html.in index cad0f1e8c1..793a6b7e59 100644 --- a/docs/hacking.html.in +++ b/docs/hacking.html.in @@ -179,12 +179,13 @@

When debugging failures during development, it is possible - to focus in on just the failing subtests by using TESTS and - VIR_TEST_RANGE: + to focus in on just the failing subtests by using + VIR_TEST_RANGE. I.e. to run all tests from 3 to 20 with the + exception of tests 6 and 16, use:

-  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