diff mbox

[0/3] tests/functional: Convert ARM bFLT linux-user avocado test

Message ID 20240822104238.75045-1-philmd@linaro.org
State New
Headers show

Commit Message

Philippe Mathieu-Daudé Aug. 22, 2024, 10:42 a.m. UTC
Convert the single user-mode test.

Warning, missing rework in tests/functional/meson.build,
however dirty tested using:

-- >8 --
---

  $ 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
diff mbox

Patch

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())