[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v6 0/8] tests/unit: Rework test-smp-parse tests
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v6 0/8] tests/unit: Rework test-smp-parse tests |
Date: |
Thu, 16 Dec 2021 14:20:07 +0100 |
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: <20211115145900.2531865-1-philmd@redhat.com>
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(-)
--
2.33.1
- [PATCH v6 0/8] tests/unit: Rework test-smp-parse tests,
Philippe Mathieu-Daudé <=
- [PATCH v6 1/8] tests/unit/test-smp-parse: Pass machine type as argument to tests, Philippe Mathieu-Daudé, 2021/12/16
- [PATCH v6 2/8] tests/unit/test-smp-parse: Split the 'generic' test in valid / invalid, Philippe Mathieu-Daudé, 2021/12/16
- [PATCH v6 4/8] tests/unit/test-smp-parse: Add 'smp-generic-invalid' machine type, Philippe Mathieu-Daudé, 2021/12/16
- [PATCH v6 3/8] tests/unit/test-smp-parse: Add 'smp-with-dies' machine type, Philippe Mathieu-Daudé, 2021/12/16
- [PATCH v6 5/8] tests/unit/test-smp-parse: Add 'smp-generic-valid' machine type, Philippe Mathieu-Daudé, 2021/12/16
- [PATCH v6 8/8] hw/core: Rename smp_parse() -> machine_parse_smp_config(), Philippe Mathieu-Daudé, 2021/12/16
- [PATCH v6 6/8] tests/unit/test-smp-parse: Simplify pointer to compound literal use, Philippe Mathieu-Daudé, 2021/12/16
- [PATCH v6 7/8] tests/unit/test-smp-parse: Constify some pointer/struct, Philippe Mathieu-Daudé, 2021/12/16