tests/qtest: Introduce qtest_get_base_arch() and qtest_get_arch_bits()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | tests/libqtest: Introduce qtest_get_arch_bits()tests/ tests/ | +29 | 2 replies | |
| 2/4 | tests/qtest: Use qtest_get_arch_bits()tests/ tests/ | +30 | 2 replies | |
| 3/4 | tests/libqtest: Introduce qtest_get_base_arch()tests/ tests/ | +35 | 2 replies | |
| 4/4 | tests/qtest: Use qtest_get_base_arch()tests/ tests/ tests/ +17 more | +44 | 3 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Akihiko Odaki | Ani Sinha |
|---|---|---|
| 1/4 | ||
| 2/4 | R-b | |
| 3/4 | ||
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] tests/qtest: Introduce qtest_get_base_arch() and qtest_get_arch_bits()
When unifying some 32/64 architectures as a single binary (for example i386 & x86_64 -> x86), some qtests fail because we lose some information (the arch bits).
This series introduce the tuple qtest_get_base_arch() / qtest_get_arch_bits() to allow the tests to keep passing.
Eventually we should remove qtest_get_arch() entirely and rename qtest_get_base_arch() -> qtest_get_arch().
So far these changes are sufficient to keep me progressing, so posting up to this point.
Philippe Mathieu-Daudé (4):
tests/libqtest: Introduce qtest_get_arch_bits() tests/qtest: Use qtest_get_arch_bits() tests/libqtest: Introduce qtest_get_base_arch() tests/qtest: Use qtest_get_base_arch()
tests/qtest/libqtest.h | 15 ++++++++++ tests/qtest/ahci-test.c | 5 ++-- tests/qtest/am53c974-test.c | 4 +-- tests/qtest/arm-cpu-features.c | 49 +++++++++++++++---------------- tests/qtest/bios-tables-test.c | 22 +++++++------- tests/qtest/boot-sector.c | 6 ++-- tests/qtest/device-plug-test.c | 6 ++-- tests/qtest/drive_del-test.c | 16 ++++------ tests/qtest/erst-test.c | 4 +-- tests/qtest/fuzz-e1000e-test.c | 4 +-- tests/qtest/ivshmem-test.c | 6 ++-- tests/qtest/libqos/qos_external.c | 6 ++-- tests/qtest/libqtest.c | 49 +++++++++++++++++++++++++++++++ tests/qtest/lpc-ich9-test.c | 4 +-- tests/qtest/m48t59-test.c | 6 ++-- tests/qtest/pxe-test.c | 6 ++-- tests/qtest/qos-test.c | 6 ++-- tests/qtest/readconfig-test.c | 6 +--- tests/qtest/rtas-test.c | 4 +-- tests/qtest/ufs-test.c | 4 +-- tests/qtest/usb-hcd-uhci-test.c | 6 ++-- tests/qtest/virtio-net-test.c | 3 +- tests/qtest/virtio-rng-test.c | 4 +-- 23 files changed, 138 insertions(+), 103 deletions(-)
Signature · 1 line
2.41.0