tests/functional: Split the test_aarch64_sbsaref test
authorThomas Huth <thuth@redhat.com>
Wed, 6 Nov 2024 17:50:28 +0000 (18:50 +0100)
committerThomas Huth <thuth@redhat.com>
Fri, 8 Nov 2024 05:16:45 +0000 (06:16 +0100)
commit9acd38845416088d395a8aefb07b9c99d24ea784
treee0ef04e1f7a6f126e0d4f5a48ad09f7c2c743b1e
parentf5ccd7e010eed410e4a296826e0c9427f28e50ae
tests/functional: Split the test_aarch64_sbsaref test

The test_aarch64_sbsaref test is the test with the longest runtime
in our functional test suite. Split it into parts so that it can
be run on multiple CPUs in parallel.

For this we have to move the fetch_firmware() function out of the
class definition to be able to reuse it easily from the other tests
(deriving the Aarch64SbsarefAlpine and Aarch64SbsarefFreeBSD directly
from Aarch64SbsarefMachine does not work, unfortunately, since we'd
inherit the test_sbsaref_edk2_firmware() function that way, causing
it to be run multiple times - and keeping the fetch_firmware() in
a separate class without the test_sbsaref_edk2_firmware() function
also does not work since the "make precache-functional" won't work
in that case ==> turning fetch_firmware() into a static function is
the best option).

Message-ID: <20241106175029.1000589-1-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
MAINTAINERS
tests/functional/meson.build
tests/functional/test_aarch64_sbsaref.py
tests/functional/test_aarch64_sbsaref_alpine.py [new file with mode: 0755]
tests/functional/test_aarch64_sbsaref_freebsd.py [new file with mode: 0755]