[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/3] tests/functional: Convert ARM bFLT linux-user avocado test
|
From: |
Philippe Mathieu-Daudé |
|
Subject: |
[PATCH 0/3] tests/functional: Convert ARM bFLT linux-user avocado test |
|
Date: |
Thu, 22 Aug 2024 12:42:35 +0200 |
Convert the single user-mode test.
Warning, missing rework in tests/functional/meson.build,
however dirty tested using:
-- >8 --
diff --git a/tests/functional/meson.build b/tests/functional/meson.build
index f8e482a87c..44f8c2aa48 100644
--- a/tests/functional/meson.build
+++ b/tests/functional/meson.build
@@ -29,4 +29,3 @@ tests_generic = [
tests_arm_thorough = [
- 'arm_canona1100',
- 'arm_n8x0',
+ 'arm_bflt',
]
@@ -124,3 +123,3 @@ foreach speed : ['quick', 'thorough']
foreach dir : target_dirs
- if not dir.endswith('-softmmu')
+ if dir.endswith('-softmmu')
continue
@@ -129,3 +128,3 @@ foreach speed : ['quick', 'thorough']
target_base = dir.split('-')[0]
- test_emulator = emulators['qemu-system-' + target_base]
+ test_emulator = emulators['qemu-' + target_base]
@@ -146,3 +145,3 @@ foreach speed : ['quick', 'thorough']
test_env.set('QEMU_TEST_QEMU_BINARY',
- meson.global_build_root() / 'qemu-system-' + target_base)
+ meson.global_build_root() / 'qemu-' + target_base)
test_env.set('QEMU_BUILD_ROOT', meson.project_build_root())
---
$ make check-func-arm SPEED=thorough QEMU_TEST_ALLOW_UNTRUSTED_CODE=1
1/1 qemu:func-thorough+func-arm-thorough+thorough / func-arm-arm_bflt OK
0.22s 1 subtests passed
Based-on: <20240821082748.65853-1-thuth@redhat.com>
Based-on: <20240822095045.72643-1-philmd@linaro.org>
Philippe Mathieu-Daudé (3):
tests/functional: Add QemuUserTest class
tests/functional: Convert ARM bFLT linux-user avocado test
tests/avocado: Remove unused QemuUserTest class
tests/avocado/avocado_qemu/__init__.py | 19 +--------
tests/avocado/load_bflt.py | 54 --------------------------
tests/functional/qemu_test/__init__.py | 2 +-
tests/functional/qemu_test/testcase.py | 17 ++++++++
tests/functional/qemu_test/utils.py | 9 +++++
tests/functional/test_arm_bflt.py | 44 +++++++++++++++++++++
6 files changed, 72 insertions(+), 73 deletions(-)
delete mode 100644 tests/avocado/load_bflt.py
create mode 100755 tests/functional/test_arm_bflt.py
--
2.45.2
- [PATCH 0/3] tests/functional: Convert ARM bFLT linux-user avocado test,
Philippe Mathieu-Daudé <=