]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
tests: Don't use testutils in mock libraries
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 11 Sep 2015 09:11:45 +0000 (11:11 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 11 Sep 2015 11:34:02 +0000 (13:34 +0200)
commitcce83f1318d8d62f85ffb1035fd9d0ae89012855
tree7ab8937d8095948a727030f0db5bd5fc32bbcded
parentee7758f09bad855f5d0fdf9804d8979cdbbff40e
tests: Don't use testutils in mock libraries

Mock libraries are not built with testutils.c, but there's one which
uses VIR_TEST_DEBUG.  But because that debug should be an error, if we
change it, then it will not only be more semantically correct, but mingw
compiler will be happier as well.

It also follows suit with all other mock libraries.

For few other things, used in this file, need libvirt.la to be added
into LIBADD for mingw as well.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
tests/Makefile.am
tests/virportallocatortest.c