Skip to content

tests/unit: Rework test-smp-parse tests

Philippe Mathieu-Daudé qemu-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest8 patches 3 repliesIn review
  2. v58 patches 3 repliesSuperseded
  3. v411 patches 15 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v36 patches18 repliesSuperseded

Changes in v6 from the cover letter

- Adapt test class names (Yanan Wang)

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8tests/unit/test-smp-parse: Pass machine type as argument to teststests/unit/test-smp-parse.c+12 -60 replies
2/8tests/unit/test-smp-parse: Split the 'generic' test in valid / invalidtests/unit/test-smp-parse.c+18 -30 replies
3/8tests/unit/test-smp-parse: Add 'smp-with-dies' machine typetests/unit/test-smp-parse.c+15 -70 replies
4/8tests/unit/test-smp-parse: Add 'smp-generic-invalid' machine typetests/unit/test-smp-parse.c+16 -91 reply
5/8tests/unit/test-smp-parse: Add 'smp-generic-valid' machine typetests/unit/test-smp-parse.c+15 -41 reply
6/8tests/unit/test-smp-parse: Simplify pointer to compound literal usetests/unit/test-smp-parse.c+33 -330 replies
7/8tests/unit/test-smp-parse: Constify some pointer/structtests/unit/test-smp-parse.c+6 -60 replies
8/8hw/core: Rename smp_parse() -> machine_parse_smp_config()hw/core/machine-smp.c hw/core/machine.c include/hw/boards.h +1 more+11 -80 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchRichard HendersonYanan WangAndrew Jones
1/8R-b R-b
2/8R-b R-b
3/8R-b R-b T-b
4/8R-b R-b
5/8R-b R-b
6/8R-b R-b T-b R-b
7/8R-b R-b T-b R-b
8/8R-b R-b T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v6 thread

Cover letter [PATCH v6 0/8] tests/unit: Rework test-smp-parse tests

Since v5:
- Adapt test class names (Yanan Wang)

Since v4:
- Rebase (skipping merged patches)
- Renamed tests (Yanan Wang)

Since v2:
- Restore 'dies_supported' field in test_with_dies (Yanan)
- Add R-b tags
- QOM-ify the TYPE_MACHINE classes

Supersedes: <[email protected]>

Philippe Mathieu-Daudé (8):
tests/unit/test-smp-parse: Pass machine type as argument to tests tests/unit/test-smp-parse: Split the 'generic' test in valid / invalid tests/unit/test-smp-parse: Add 'smp-with-dies' machine type tests/unit/test-smp-parse: Add 'smp-generic-invalid' machine type tests/unit/test-smp-parse: Add 'smp-generic-valid' machine type tests/unit/test-smp-parse: Simplify pointer to compound literal use tests/unit/test-smp-parse: Constify some pointer/struct hw/core: Rename smp_parse() -> machine_parse_smp_config()

 include/hw/boards.h         |   3 +-
 hw/core/machine-smp.c       |   6 +-
 hw/core/machine.c           |   2 +-
 tests/unit/test-smp-parse.c | 181 +++++++++++++++++++++++-------------
 4 files changed, 121 insertions(+), 71 deletions(-)
Signature · 1 line
2.33.1