Skip to content

tests/functional: Convert ARM bFLT linux-user avocado test

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tests/functional: Add QemuUserTest classtests/functional/qemu_test/__init__.py tests/functional/qemu_test/testcase.py+18 -11 reply
2/3tests/functional: Convert ARM bFLT linux-user avocado testtests/avocado/load_bflt.py tests/functional/qemu_test/utils.py tests/functional/test_arm_bflt.py+53 -540 replies
3/3tests/avocado: Remove unused QemuUserTest classtests/avocado/avocado_qemu/__init__.py+1 -181 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchThomas Huth
1/3R-b
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

Convert the single user-mode test.

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

-- >8 --

tests/functional/meson.build +4 -5
index f8e482a87c..44f8c2aa48 100644
@@ -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: <[email protected]>
Based-on: <[email protected]>

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
Signature · 1 line
2.45.2