Fix qemu-vexpress and qemu-aarch64 (#1029)

* Don't ask for the mesa driver when the Qemu arch is not the
  native arch and always use swrast in that case
* qemu-vexpress: use LTS kernel
* qemu-aarch64: use drm-backend for weston
This commit is contained in:
Oliver Smith 2018-01-08 15:18:37 +00:00 committed by GitHub
parent fd67263c27
commit 12340fe5f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 66 additions and 32 deletions

View file

@ -140,10 +140,11 @@ def test_questions(args, monkeypatch, tmpdir):
assert func(args, "nokia-rx51") == "us/rx51_us"
assert func(args, "lg-mako") == ""
# Qemu mesa driver
func = pmb.config.init.ask_for_qemu_mesa_driver
# Qemu native mesa driver
func = pmb.config.init.ask_for_qemu_native_mesa_driver
answers = ["invalid_driver", "dri-swrast"]
assert func(args) == "dri-swrast"
assert func(args, "qemu-amd64", "x86_64") == "dri-swrast"
assert func(args, "qemu-aarch64", "x86_64") is None
# UI
answers = ["invalid_UI", "weston"]