Re: [PATCH for-6.2 v4 14/14] tests/unit: Add a unit test for smp parsing

2021-08-03 Thread Andrew Jones
On Tue, Aug 03, 2021 at 04:05:27PM +0800, Yanan Wang wrote: > Add a QEMU unit test for the parsing of given SMP configuration. > Since all the parsing logic is in generic function smp_parse(), > this test passes different SMP configurations to the function > and compare the parsing result with

[PATCH for-6.2 v4 14/14] tests/unit: Add a unit test for smp parsing

2021-08-03 Thread Yanan Wang
Add a QEMU unit test for the parsing of given SMP configuration. Since all the parsing logic is in generic function smp_parse(), this test passes different SMP configurations to the function and compare the parsing result with what is expected. In the test, all possible collections of the