]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
snapshot: Rename qemu domain snapshot test files
authorEric Blake <eblake@redhat.com>
Fri, 5 Jul 2019 18:24:40 +0000 (13:24 -0500)
committerEric Blake <eblake@redhat.com>
Mon, 8 Jul 2019 21:10:22 +0000 (16:10 -0500)
Make it obvious that the domainsnapshotxml2xml test is only run when
compiling in support for qemu.

Suggested-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Acked-by: Peter Krempa <pkrempa@redhat.com>
28 files changed:
tests/Makefile.am
tests/qemudomainsnapshotxml2xmlin/description_only.xml [moved from tests/domainsnapshotxml2xmlin/description_only.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlin/disk-invalid.xml [moved from tests/domainsnapshotxml2xmlin/disk-invalid.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlin/disk-network-seclabel-invalid.xml [moved from tests/domainsnapshotxml2xmlin/disk-network-seclabel-invalid.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlin/disk-seclabel.xml [moved from tests/domainsnapshotxml2xmlin/disk-seclabel.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlin/disk_driver_name_null.xml [moved from tests/domainsnapshotxml2xmlin/disk_driver_name_null.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlin/disk_snapshot.xml [moved from tests/domainsnapshotxml2xmlin/disk_snapshot.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlin/empty.xml [moved from tests/domainsnapshotxml2xmlin/empty.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlin/external_vm.xml [moved from tests/domainsnapshotxml2xmlin/external_vm.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlin/name_and_description.xml [moved from tests/domainsnapshotxml2xmlin/name_and_description.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlin/name_only.xml [moved from tests/domainsnapshotxml2xmlin/name_only.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlin/noparent.xml [moved from tests/domainsnapshotxml2xmlin/noparent.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlout/all_parameters.xml [moved from tests/domainsnapshotxml2xmlout/all_parameters.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlout/disk-seclabel.xml [moved from tests/domainsnapshotxml2xmlout/disk-seclabel.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlout/disk_driver_name_null.xml [moved from tests/domainsnapshotxml2xmlout/disk_driver_name_null.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlout/disk_snapshot.xml [moved from tests/domainsnapshotxml2xmlout/disk_snapshot.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlout/disk_snapshot_redefine.xml [moved from tests/domainsnapshotxml2xmlout/disk_snapshot_redefine.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlout/empty.xml [moved from tests/domainsnapshotxml2xmlout/empty.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlout/external_vm.xml [moved from tests/domainsnapshotxml2xmlout/external_vm.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlout/external_vm_redefine.xml [moved from tests/domainsnapshotxml2xmlout/external_vm_redefine.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlout/full_domain.xml [moved from tests/domainsnapshotxml2xmlout/full_domain.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlout/metadata.xml [moved from tests/domainsnapshotxml2xmlout/metadata.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlout/name_and_description.xml [moved from tests/domainsnapshotxml2xmlout/name_and_description.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlout/noparent.xml [moved from tests/domainsnapshotxml2xmlout/noparent.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlout/noparent_nodescription.xml [moved from tests/domainsnapshotxml2xmlout/noparent_nodescription.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmlout/noparent_nodescription_noactive.xml [moved from tests/domainsnapshotxml2xmlout/noparent_nodescription_noactive.xml with 100% similarity]
tests/qemudomainsnapshotxml2xmltest.c [moved from tests/domainsnapshotxml2xmltest.c with 93% similarity]
tests/virschematest.c

index 115afa1c1ae07df7833dacc3d9defdbc5eb76143..e57d0da58a2f45fda638afc16444131fed2b7a47 100644 (file)
@@ -85,8 +85,6 @@ EXTRA_DIST = \
        domaincapsschemadata \
        domainconfdata \
        domainschemadata \
-       domainsnapshotxml2xmlin \
-       domainsnapshotxml2xmlout \
        fchostdata \
        genericxml2xmlindata \
        genericxml2xmloutdata \
@@ -112,6 +110,8 @@ EXTRA_DIST = \
        qemublocktestdata \
        qemucapabilitiesdata \
        qemucaps2xmloutdata \
+       qemudomainsnapshotxml2xmlin \
+       qemudomainsnapshotxml2xmlout \
        qemuhotplugtestcpus \
        qemuhotplugtestdevices \
        qemuhotplugtestdomains \
@@ -275,7 +275,7 @@ endif WITH_LIBXL
 
 if WITH_QEMU
 test_programs += qemuxml2argvtest qemuxml2xmltest \
-       domainsnapshotxml2xmltest \
+       qemudomainsnapshotxml2xmltest \
        qemumonitorjsontest qemuhotplugtest \
        qemuagenttest qemucapabilitiestest qemucaps2xmltest \
        qemumemlocktest \
@@ -656,10 +656,10 @@ qemublocktest_LDADD = \
        $(qemu_LDADDS) \
        $(NULL)
 
-domainsnapshotxml2xmltest_SOURCES = \
-       domainsnapshotxml2xmltest.c testutilsqemu.c testutilsqemu.h \
+qemudomainsnapshotxml2xmltest_SOURCES = \
+       qemudomainsnapshotxml2xmltest.c testutilsqemu.c testutilsqemu.h \
        testutils.c testutils.h
-domainsnapshotxml2xmltest_LDADD = $(qemu_LDADDS)
+qemudomainsnapshotxml2xmltest_LDADD = $(qemu_LDADDS)
 
 qemumemlocktest_SOURCES = \
        qemumemlocktest.c \
@@ -691,7 +691,7 @@ qemufirmwaretest_LDADD = $(qemu_LDADDS)
 
 else ! WITH_QEMU
 EXTRA_DIST += qemuxml2argvtest.c qemuxml2xmltest.c \
-       domainsnapshotxml2xmltest.c \
+       qemudomainsnapshotxml2xmltest.c \
        testutilsqemu.c testutilsqemu.h \
        testutilsqemuschema.c testutilsqemuschema.h \
        qemumonitorjsontest.c qemuhotplugtest.c \
similarity index 93%
rename from tests/domainsnapshotxml2xmltest.c
rename to tests/qemudomainsnapshotxml2xmltest.c
index c34ab0bc89e3ac8eaf2eba94d34ac816e7c5d1e6..10ea9cf8d26dfa771658f626cb57c08e8dc02fb3 100644 (file)
@@ -144,18 +144,18 @@ mymain(void)
     } while (0)
 
 # define DO_TEST_IN(name, uuid) DO_TEST("in->in", name, \
-                                        "domainsnapshotxml2xmlin", \
-                                        "domainsnapshotxml2xmlin", \
+                                        "qemudomainsnapshotxml2xmlin", \
+                                        "qemudomainsnapshotxml2xmlin", \
                                         uuid, 0, 0)
 
 # define DO_TEST_OUT(name, uuid, internal) \
-    DO_TEST("out->out", name, "domainsnapshotxml2xmlout", \
-            "domainsnapshotxml2xmlout", uuid, 0, internal | TEST_REDEFINE)
+    DO_TEST("out->out", name, "qemudomainsnapshotxml2xmlout", \
+            "qemudomainsnapshotxml2xmlout", uuid, 0, internal | TEST_REDEFINE)
 
 # define DO_TEST_INOUT(name, uuid, time, flags) \
     DO_TEST("in->out", name, \
-            "domainsnapshotxml2xmlin",\
-            "domainsnapshotxml2xmlout",\
+            "qemudomainsnapshotxml2xmlin",\
+            "qemudomainsnapshotxml2xmlout",\
             uuid, time, flags)
 
     /* Unset or set all envvars here that are copied in qemudBuildCommandLine
index ff25f7781ee89f313a3b5683301375d8171984d5..b7c2f7cfaaacb9709c9497ee857273e00be32263 100644 (file)
@@ -222,8 +222,8 @@ mymain(void)
                 "genericxml2xmloutdata", "xlconfigdata", "libxlxml2domconfigdata",
                 "qemuhotplugtestdomains");
     DO_TEST_DIR("domaincaps.rng", "domaincapsschemadata");
-    DO_TEST_DIR("domainsnapshot.rng", "domainsnapshotxml2xmlin",
-                "domainsnapshotxml2xmlout");
+    DO_TEST_DIR("domainsnapshot.rng", "qemudomainsnapshotxml2xmlin",
+                "qemudomainsnapshotxml2xmlout");
     DO_TEST_DIR("interface.rng", "interfaceschemadata");
     DO_TEST_DIR("network.rng", "../src/network", "networkxml2xmlin",
                 "networkxml2xmlout", "networkxml2confdata");