]> xenbits.xensource.com Git - libvirt.git/commit
build: properly skip tests
authorEric Blake <eblake@redhat.com>
Thu, 1 Dec 2011 20:47:34 +0000 (13:47 -0700)
committerEric Blake <eblake@redhat.com>
Thu, 1 Dec 2011 20:49:20 +0000 (13:49 -0700)
commitda8061eefeb6e75c3a67b2081c57195549aa1075
treef7469645eff7eb01dfa8a0a828f094d4f683fc6c
parent24d9792821af4c6b304e5b0ee83f7b233cfa314e
build: properly skip tests

I got this failure on FreeBSD:

shunloadtest.c: In function 'main':
shunloadtest.c:150: error: 'EXIT_AM_SKIP' undeclared (first use in this function)

but inspection showed several other problems, all fixed here.

* tests/domainsnapshotxml2xmltest.c [!WITH_QEMU]: Ensure
EXIT_AM_SKIP is defined.
* tests/esxutilstest.c [!WITH_ESX]: Likewise.
* tests/openvzutilstest.c [!WITH_OPENVZ]: Likewise.
* tests/qemuargv2xmltest.c [!WITH_QEMU]: Likewise.
* tests/qemuhelptest.c [!WITH_QEMU]: Likewise.
* tests/qemuxml2argvtest.c [!WITH_QEMU]: Likewise.
* tests/qemuxml2xmltest.c [!WITH_QEMU]: Likewise.
* tests/qemuxmlnstest.c [!WITH_QEMU]: Likewise.
* tests/shunloadtest.c [!linux]: Likewise.
* tests/vmx2xmltest.c [!WITH_VMX]: Likewise.
* tests/xml2vmxtest.c [!WITH_VMX]: Likewise.
tests/domainsnapshotxml2xmltest.c
tests/esxutilstest.c
tests/openvzutilstest.c
tests/qemuargv2xmltest.c
tests/qemuhelptest.c
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c
tests/qemuxmlnstest.c
tests/shunloadtest.c
tests/vmx2xmltest.c
tests/xml2vmxtest.c