diff options
author | Eric Blake <eblake@redhat.com> | 2011-12-01 13:47:34 -0700 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2011-12-01 13:49:20 -0700 |
commit | da8061eefeb6e75c3a67b2081c57195549aa1075 (patch) | |
tree | f7469645eff7eb01dfa8a0a828f094d4f683fc6c /tests/qemuxmlnstest.c | |
parent | Avoid crash in shunloadtest (diff) | |
download | libvirt-da8061eefeb6e75c3a67b2081c57195549aa1075.tar.gz libvirt-da8061eefeb6e75c3a67b2081c57195549aa1075.tar.bz2 libvirt-da8061eefeb6e75c3a67b2081c57195549aa1075.zip |
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.
Diffstat (limited to 'tests/qemuxmlnstest.c')
-rw-r--r-- | tests/qemuxmlnstest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemuxmlnstest.c b/tests/qemuxmlnstest.c index ee3ad1b08..86cf9740c 100644 --- a/tests/qemuxmlnstest.c +++ b/tests/qemuxmlnstest.c @@ -284,6 +284,7 @@ mymain(void) VIRT_TEST_MAIN(mymain) #else +# include "testutils.h" int main(void) { |