diff options
author | Cole Robinson <crobinso@redhat.com> | 2009-10-16 11:37:36 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2009-10-20 14:17:34 -0400 |
commit | 9710856b3316328c7b3ba6d3264f67c1f5d710e4 (patch) | |
tree | 0e16523e9517c532d87e3f62c5a05c73459229b3 /tests/testutilsqemu.c | |
parent | tests: Initialize virRandom in for test suite. (diff) | |
download | libvirt-9710856b3316328c7b3ba6d3264f67c1f5d710e4.tar.gz libvirt-9710856b3316328c7b3ba6d3264f67c1f5d710e4.tar.bz2 libvirt-9710856b3316328c7b3ba6d3264f67c1f5d710e4.zip |
tests: Centralize VIR_TEST_DEBUG lookup, and document it
Provide a simple interface for other tests to lookup the testDebug variable.
Also remove a redundant error message in interface tests.
If anyone feels inclined to change this env variable to match the existing
LIBVIRT_* format, it should now be easier to do so.
Diffstat (limited to 'tests/testutilsqemu.c')
-rw-r--r-- | tests/testutilsqemu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testutilsqemu.c b/tests/testutilsqemu.c index 9269f5cf8..eeeb5eca5 100644 --- a/tests/testutilsqemu.c +++ b/tests/testutilsqemu.c @@ -132,7 +132,7 @@ virCapsPtr testQemuCapsInit(void) { NULL) == NULL) goto cleanup; - if (testDebug) { + if (virtTestGetDebug()) { char *caps_str; caps_str = virCapabilitiesFormatXML(caps); |