[libvirt] make check failure

Hello All, I wanted to ask a question regarding the tests that are run during make check. If a particular test fails when running make check, how do we which test failed and why? Is there a log that helps when debugging such errors? -- Many Thanks, Regards, Shradha Shah

On 09/03/2012 11:52 AM, Shradha Shah wrote:
Hello All,
I wanted to ask a question regarding the tests that are run during make check.
If a particular test fails when running make check, how do we which test failed and why?
The test(s) that failed can be found by searching through the make check output for "FAIL". Once you've found the test that failed, you can get more detailed output from that test by doing the following: cd tests VIR_TEST_DEBUG=2 ./${testname} That should given enough information to figure out what's wrong.

On 03.09.2012 20:49, Laine Stump wrote:
On 09/03/2012 11:52 AM, Shradha Shah wrote:
Hello All,
I wanted to ask a question regarding the tests that are run during make check.
If a particular test fails when running make check, how do we which test failed and why?
The test(s) that failed can be found by searching through the make check output for "FAIL". Once you've found the test that failed, you can get more detailed output from that test by doing the following:
cd tests VIR_TEST_DEBUG=2 ./${testname}
Moreover, if you need libvirt debug logs, set LIBVIRT_DEBUG or LIBVIRT_LOG_OUTPUTS env variables: LIBVIRT_DEBUG=1 LIBVIRT_LOG_OUTPUTS="1:file:libvirt.log" VIR_TEST_DEBUG=2 ./${testname}
That should given enough information to figure out what's wrong.
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
participants (3)
-
Laine Stump
-
Michal Privoznik
-
Shradha Shah