]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/selftest/efibootpartition: improve test
authorRoss Burton <ross.burton@arm.com>
Wed, 9 Nov 2022 19:31:24 +0000 (19:31 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 11 Nov 2022 13:43:37 +0000 (13:43 +0000)
commit2bc2ee171f976807053b7da44c1eedbb07c10949
tree1d1ab422b495d8fc44e321a5a463b52674e1e1a6
parentc46be833efc5abea577251ef7e87ef90f08c4de3
oeqa/selftest/efibootpartition: improve test

This test was overly complex with a setUp() method for a single test case,
which was marked as a class function for no good reason.

Generalise the test so that it has the possibility of working on more
machines in the future, add a decorator so that it only runs on
qemux86-64, and respect QEMU_USE_KVM to speed up test execution.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/lib/oeqa/selftest/cases/efibootpartition.py