]> git.proxmox.com Git - mirror_qemu.git/commit - tests/Makefile.include
tests/display-vga: Enable virtio-vga test
authorThomas Huth <thuth@redhat.com>
Thu, 29 Nov 2018 11:50:48 +0000 (12:50 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 11 Jan 2019 10:45:00 +0000 (11:45 +0100)
commitc2077ec2d98f3914b850212f00ca5456b6e4774d
tree3b2f7beadece9786f0d7f95fd677a73ed30df0d0
parenta311f891abf3833c1e4c5a62a6e5b0f1b81f22c3
tests/display-vga: Enable virtio-vga test

There are some "#ifdef CONFIG_VIRTIO_VGA" in the code here which
do not work as expected: CONFIG_VIRTIO_VGA is a Makefile switch,
but not a CPP macro, so the "guarded" code currently simply never
gets enabled.

So enable this code now unconditionally, with some runtime switches
for the architectures that have the VIRTIO_VGA device enabled by
default. Looking at the other if-statement in the main function here,
it also seems like this test was originally supposed to be running
on "mips" and "alpha", too, so enable it now for these architectures
in the Makefile, too.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-id: 1543492248-28356-1-git-send-email-thuth@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
tests/Makefile.include
tests/display-vga-test.c