]> Git Repo - qemu.git/blobdiff - tests/display-vga-test.c
iotests: Add preallocated growth test for qcow2
[qemu.git] / tests / display-vga-test.c
index 91460215ccf192866e5b668a565490ee75897919..2d7d24eee0ff6bad1a41ce443d1dd5702a7a1ac6 100644 (file)
@@ -50,9 +50,14 @@ static void pci_virtio_vga(void)
 
 int main(int argc, char **argv)
 {
+    const char *arch = qtest_get_arch();
+
     g_test_init(&argc, &argv, NULL);
 
-    qtest_add_func("/display/pci/cirrus", pci_cirrus);
+    if (strcmp(arch, "alpha") == 0 || strcmp(arch, "i386") == 0 ||
+        strcmp(arch, "mips") == 0 || strcmp(arch, "x86_64") == 0) {
+        qtest_add_func("/display/pci/cirrus", pci_cirrus);
+    }
     qtest_add_func("/display/pci/stdvga", pci_stdvga);
     qtest_add_func("/display/pci/secondary", pci_secondary);
     qtest_add_func("/display/pci/multihead", pci_multihead);
This page took 0.024158 seconds and 4 git commands to generate.