tests/unit/test-smp-parse: Make test cases aware of the book/drawer
commitdc583442dc877223d0ed09b1e33caf3d2bebe589
authorZhao Liu <zhao1.liu@intel.com>
Fri, 8 Mar 2024 16:01:42 +0000 (9 00:01 +0800)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sat, 9 Mar 2024 18:17:01 +0000 (9 19:17 +0100)
treeb5ed7294f7227483fae467ba4c137ddc6bee83f7
parentf4e65d64bdcee098d660fd427dd41ef557985d68
tests/unit/test-smp-parse: Make test cases aware of the book/drawer

Currently, -smp supports 2 more new levels: book and drawer.

It is necessary to consider the effects of book and drawer in the test
cases to ensure that the calculations are correct. This is also the
preparation to add new book and drawer test cases.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Tested-by: Xiaoling Song <xiaoling.song@intel.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240308160148.3130837-8-zhao1.liu@linux.intel.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
tests/unit/test-smp-parse.c