[PATCH alt] tests/testutils: advertise VIR_TEST_VERBOSE and VIR_TEST_DEBUG if user attempts to get help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Alon Levy <alevy@xxxxxxxxxx>
---
 tests/testutils.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/testutils.c b/tests/testutils.c
index 4e8484f..ada676f 100644
--- a/tests/testutils.c
+++ b/tests/testutils.c
@@ -577,6 +577,10 @@ int virtTestMain(int argc,
         progname += 2;
     if (argc > 1) {
         fprintf(stderr, "Usage: %s\n", argv[0]);
+        fprintf(stderr,
+            "effective environment variables:\n"
+            "VIR_TEST_VERBOSE set to show names of individual tests\n"
+            "VIR_TEST_DEBUG set to show information for debugging failures\n");
         return EXIT_FAILURE;
     }
     fprintf(stderr, "TEST: %s\n", progname);
-- 
1.7.10.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]