forked from Mirror/pmbootstrap
pmb.qemu: remove QEMU mesa driver setup question (!1886)
mesa-dri-swrast and mesa-dri-virtio are both provided by mesa-dri-gallium now, so this option does not have much use anymore. With both selections, exactly the same packages are installed.
This commit is contained in:
parent
cb1f68817f
commit
320b2faa4c
7 changed files with 2 additions and 58 deletions
|
@ -213,13 +213,6 @@ def test_questions_keymaps(args, monkeypatch):
|
|||
assert func(args, "lg-mako") == ""
|
||||
|
||||
|
||||
def test_questions_qemu_native_mesa(args, monkeypatch):
|
||||
func = pmb.config.init.ask_for_qemu_native_mesa_driver
|
||||
fake_answers(monkeypatch, ["invalid_driver", "dri-swrast"])
|
||||
assert func(args, "qemu-amd64", "x86_64") == "dri-swrast"
|
||||
assert func(args, "qemu-aarch64", "x86_64") is None
|
||||
|
||||
|
||||
def test_questions_ui(args, monkeypatch):
|
||||
fake_answers(monkeypatch, ["invalid_UI", "weston"])
|
||||
assert pmb.config.init.ask_for_ui(args) == "weston"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue