]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: Prepare to use DO_TEST_CAPS_ARCH_LATEST() more
authorAndrea Bolognani <abologna@redhat.com>
Wed, 5 Sep 2018 11:04:08 +0000 (13:04 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Wed, 5 Sep 2018 16:30:32 +0000 (18:30 +0200)
We can add aarch64, ppc64 and riscv64 to the list of
supported architectures for the macro, since we have
capabilities data for all of them.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2argvtest.c

index 144e595310e8d67d23c2d98b2a3f01b2d5201c4d..cc0e5f04bfd8717214ad2436e37ed4cb189d1e86 100644 (file)
@@ -656,7 +656,13 @@ mymain(void)
     int ret = 0, i;
     char *fakerootdir;
     bool skipLegacyCPUs = false;
-    const char *archs[] = { "x86_64", "s390x" };
+    const char *archs[] = {
+        "aarch64",
+        "ppc64",
+        "riscv64",
+        "s390x",
+        "x86_64",
+    };
     virHashTablePtr capslatest = NULL;
 
     if (VIR_STRDUP_QUIET(fakerootdir, FAKEROOTDIRTEMPLATE) < 0) {