mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
tests: Honor LIBVIRT_{DEBUG,LOG_*} variables
This commit is contained in:
parent
d3ad0ee0af
commit
a4d9d98fb0
@ -470,6 +470,7 @@ int virtTestMain(int argc,
|
||||
virRandomInitialize(time(NULL) ^ getpid()))
|
||||
return 1;
|
||||
|
||||
virLogSetFromEnv();
|
||||
if (virLogDefineOutput(virtTestLogOutput, virtTestLogClose, &testLog,
|
||||
0, 0, NULL, 0) < 0)
|
||||
return 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user