tests/functional: Convert Aarch64 SBSA-Ref avocado tests
PATCH 1/1 tests/functional: Convert Aarch64 SBSA-Ref avocado tests
Straight forward conversion. Since SBSA_FLASH files are not tarballs, use lzma_uncompress() method.
Signed-off-by Philippe Mathieu-Daudé <[email protected]>
---
Based-on: <[email protected]>
---
MAINTAINERS | 2 +-
tests/functional/meson.build | 5 +
.../test_aarch64_sbsaref.py} | 135 ++++++------------
3 files changed, 53 insertions(+), 89 deletions(-)
rename tests/{avocado/machine_aarch64_sbsaref.py => functional/test_aarch64_sbsaref.py} (58%)
mode change 100644 => 100755MAINTAINERS +1 -1
@@ -971,7 +971,7 @@ F: hw/misc/sbsa_ec.c F: hw/watchdog/sbsa_gwdt.c F: include/hw/watchdog/sbsa_gwdt.h F: docs/system/arm/sbsa.rst -F: tests/avocado/machine_aarch64_sbsaref.py +F: tests/functional/test_aarch64_sbsaref.py Sharp SL-5500 (Collie) PDA M: Peter Maydell <[email protected]>
tests/functional/meson.build +5 -0
@@ -11,6 +11,7 @@ endif # Timeouts for individual tests that can be slow e.g. with debugging enabled test_timeouts = { + 'aarch64_sbsaref' : 180, 'acpi_bits' : 240, 'netdev_ethtool' : 180, 'ppc_40p' : 240,
@@ -26,6 +27,10 @@ tests_generic = [ 'version', ] +tests_aarch64_thorough = [ + 'aarch64_sbsaref', +] + tests_arm_thorough = [ 'arm_canona1100', 'arm_integratorcp',
tests/functional/test_aarch64_sbsaref.py renamed from tests/avocado/machine_aarch64_sbsaref.py +47 -88
230 lines not on this page · raw message
Signature · 1 line
2.45.2
Quoted 6 lines · Philippe Mathieu-Daudé
Straight forward conversion. Since
SBSA_FLASHfiles are not tarballs, uselzma_uncompress()method.Signed-off-by Philippe Mathieu-Daudé <[email protected]>---
Based-on: <[email protected]>
Quoted 7 lines
--- MAINTAINERS | 2 +- tests/functional/meson.build | 5 + .../test_aarch64_sbsaref.py} | 135 ++++++------------ 3 files changed, 53 insertions(+), 89 deletions(-)rename
tests/{avocado/machine_aarch64_sbsaref.py=>functional/test_aarch64_sbsaref.py} (58%) mode change 100644 => 100755
Forgot to squash:
-- >8 --
tests/functional/test_aarch64_sbsaref.py +0 -7
@@ -78,5 +78,2 @@ def fetch_firmware(self): def test_sbsaref_edk2_firmware(self): - """ - :avocado: tags=cpu:cortex-a57 - """
@@ -145,6 +142,2 @@ def test_sbsaref_alpine_linux_max_pauth_impdef(self): def test_sbsaref_alpine_linux_max(self): - """ - :avocado: tags=cpu:max - :avocado: tags=os:linux - """ self.boot_alpine_linux("max")
---